Need to field to read only once saved...

I modified the current date field to create a unique ID for a form. What I need to do is to become READ ONLY once the user clicks on the submit button. Here is my current FormCalc code

$.rawValue = Concat (Num2Date ((), "MMDDYY" Date), '-', Num2Time (Time (), "hMMSS"))

Any ideas? Thank you!

Hello

Put it in an if expression.

if ($.isNull) then
     $ =  Concat(Num2Date(Date(), "MMDDYY"), "-", Num2Time(Time(), "hMMSS"))
else
     $.access = "readOnly"
endif

Tags: Adobe LiveCycle

Similar Questions

  • Make all the text fields to read only after signing form

    Hello

    I have a form of direct cycle that must have all the defined text fields as read only after the signing.

    The java script has been placed in the sign post to a digital signature field event.

    for (var i = 0; i < this.numFields; i ++) {}

    NJC var = this.getNthFieldName (i);

    If (cNm.type = "text") this.getField (NJC) .readonly = true;

    }

    After signing the following the error in console form appears:

    this.getNthFieldName is not a function

    Can someone advise please how to change the script so that when the form is signed all text fields become ready only?

    Any help will be most appreciated.

    Thank you.

    You don't need any JavaScript to do this.

    In the designer, you can configure the field signature in this way, that all fields will be locked after the signing.

    Look here:

    http://forums.Adobe.com/message/3121870?TSTART=2

  • The Performance counter requested is not a custom counter, it needs to be initialized read-only.

    I use SAGE ACt! database and I get this error message after loading.  The Performance counter requested is not a custom counter, it needs to be initialized read-only.

    Does anyone know how to remedy this?  I talked to the WISE and they say it's a problem of Windows registry, but I don't have the knowledge to deal with this.

    Hello

    Thanks for posting your query in Microsoft Community!

    Can I know what Windows operating system do you use?

    I would like you see below and check if that helps.

    Error message "Performance counter is not a custom counter, it needs to be initialized in ReadOnly" when you run Microsoft Dynamics CRM 4.0

    http://support.Microsoft.com/kb/958377#appliesTo

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 /) how to back up and restore the registry in Windows.

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

    We can't wait to hear back on your part.

  • Where is the best place to 'field of Application only once by application start initiation' coded?

    Dear all,

    Do you have any suggestions on where we should put the opening of scope application code?

    These codes should be used the first time user enter the app, but not every time when you navigate to a new page.

    I use bbUI and currently trying to put it in the webworksready listener in my index.html

    Is this supposed to be invoke only once or will be called each time when I refresh the screen using bb.pushScreen?

    I noticed it was triggerred several times, so this isn't what I want to achieve.

    Any other event listener could I use to put my 'field of Application only once by opening start?

    Appreciate for any suggestion or comment.

    This happens in fact because of the bug of the ripple, this ready recall webworks has been triggerred twice.

    So ideally, it won't be a problem.

  • How to make text read-only once it is recorded and distributed on the ground?

    How to make a read-only text field after it is registered adistributed d?

    LiveCycle Designer ARE 8.2

    Exit this JavaScript code on the event:

    textField1.access = "readOnly";

    This works after the user loses the focus on the field, but after it is saved and distributed, this field is no longer "read only".

    I need to have staff insert information into a text field and try it then distribute to clients, and these fields must be protected.

    How do you do that?

    No... .it has to be there to be a schema valid... but it is not used by the product offline.

    Paul

  • Set the following fields in 'read only' to take data from the first occurrence?

    Hoping that this can be easily done without the need for scripting.

    I'm working on creating a form of proposal. There are a few areas where I would like the first instance of an editable field, but the rest would be locked so that they are even taken out of the tab order.

    Example: On the first page, I have a field for the name of the company. This field is reproduced in the pages of the proposal. Each field has the same name. So all data have concluded one of them are dealt to each of them.

    Ideal solution: Front page field is editable, and is where data is entered. "All the following fields are defined as 'read only' and take their 'master' field data" so someone can't make a change to this form, for example, the third page and have this error repeated throughout the document.

    Is this possible?

    I use Acrobat Pro DC on Windows 7 pro.

    Thank you.

    You use a script to do it, but it's very simple.

    If the 'master' field is called "Text1", then enter this code in the calculation script customized for all other areas that need to have its value:

    Event.Value = this.getField("Text1").value;

  • Save as read only once signed

    Hi, on the older version of acrobat reader, I could edit a pdf and then sign only there and then once registered it would then create a dish read only files that could not be edited when sent to a client but I can't do that in Adobe Acrobat Reader DC. Does anyone know how to do this? Thank you very much

    Hi fraserd33922496,

    Handwritten signature is possible in sign & filling tool, but it will not lock your PDF form in mode single player.

    However, you can add an image of your handwritten signature in the digital signature.

    Kind regards
    Nicos

  • Subform fields are read-only

    Hello, I'm not sure if this is a bug or a setting.  But I have a form of work with subforms, if I copy a subform that already controls on it and works correctly and paste (or duplicate also), when I saw it, these glued controls are any type of read-only and not power in them.

    Someone has any ideas why that would happen?

    Thank you

    Joe

    Problem.jpg

    * Update * I just uploaded the image above of subforms, the correct top, at the bottom one after copying and pasting of the top and rename it, it has now become read-only

    Ah... I just caught this mistake and found your script on the sub-shape to calculate.

    If (GenericNetworkInformation.ddlNumberofServers > = '1') then

    sfServer1.presence = 'visible' else

    sfServer1.presence = "hidden".

    endif

    Update the form attached.

    Steve

  • I need to delay the game only once.  My code runs to each loop.

    Hello

    I am new to Flash.  I can't decifer the sample scripts in the help files.  After a lot of trial and error, the following codes works very well.  It delays playback on the video for the right amount of time.  The only problem is when the repeat (as it should) the codes runs again.  I want to only run code during the first thru.  Any help would be appreciated.

    Stop();
    var startTime = getTimer ();

    stage.addEventListener (Event.ENTER_FRAME, delay);

    function timeDelay(event:Event):void {}
    var timePassed = getTimer ();
    If ((timePassed-startTime > = 4000) {})
    Play();
    }
    }

    Thank you


    Doug

    Oh, I get it.  Sorry, forgot some of the intricacies of the animation on the timeline.  Yes, as long as your code is on frame 1 and your return your timeline at the frame 1, then the code will load every time.  What you need to do, is have your code on frame 1, then loop back to the frame 2 to start the next iteration of the film.

  • How can you define fields to read-only?

    I'm trying to gray on the fields of Description of the PLU and POS Description , available in the section Identification of the product in the form of trade specifications of GSM.

    Or there is a grey out possible quick fix above two fields: you can try to set the Enabled property of being fake, as

    for the Description of PLU field

    in Prodika\Web\gsm\BaseForms\UserControls\ctlProductIdentification.ascx

    for the Description of the POS field

    in Prodika\Web\gsm\BaseForms\UserControls\ctlProductIdentification.ascx

  • How to do a bunch of fields read only value-based

    IM using jdev 12.1.2.

    I have a fragment with a few dozen jsff fields. I need to make these read-only or editable fields based on a value. I know how to do this for each field, but I was hoping there was a way to do this for each of them with a single property. For instance, all the fields are in a panelgrouplayout or a panelformlayout can I set a property on this provision which will set then all areas reporting to him read-only. I was just trying not to put the property read-only on each field of monkey.

    There is none of these goods or componentwhich allows you to do. All you can do is to set the readonly property of each field to the same property (bean or pagedef) and ppr the container so that the components are updated.

    Or you use a bean method that sets all the fields editiable readonly properties in a contianer orf true false. It would save that you set the property for each field.

    Timo

  • Forms: Fields read-only

    How you code a form so that a field is read-only?

    OK, you use JS in the JS Landing page editor to manipulate the fields after they have been generated on the page, such as:

    document.getElementById('yourfieldID').readOnly = true;

    You may need to play with js a little so he can run effectively on the page (i.e. by adding a function and which do not).

  • Marking of fields read-only when signed - unable to untick the box

    Hi people,

    I use Adobe Acrobat Pro XI.

    I have a form with Signature fields that have been set to make some fields read-only once the signature field is signed. I can bring up the Properties window with the list of fields to choose from and can't seem to "Select all" and "Uncheck all" using the button, but can't check or uncheck the individual fields. When I click on a field of what I pointed out but I can not "check" it.

    No idea why this would be?

    Thank you.

    Click on slightly outside and to the left of the box to select/deselect the.

  • make form fields read-only without buttons

    Hi, I want to make my form fields to read only using JavaScript. I found codes below and it's work.

    My problem is, I do not read only buttons. I send button on my form. Offer other than the button

    others all the fields I want to make read-only... so please help me to do it. Thank you...

    do all the fields in a form read-only;

    var oField; variable field processing;

    Browse the form fields;

    for (var i = 0; i < this.numFields; i ++) {}

    treat each domain name;

    oField = this.getField (this.getNthFieldName (i)) .readonly = true;

    }

    PDF form javascript to read only field using the button

    This code is a little strange. Use it instead:

    for (var i = 0; i < this.numFields; i++) {
        var oField = this.getField(this.getNthFieldName(i));
        if (oField.type!="button") oField.readonly = true;
    }
    
  • Make editable field when the checkbox is enabled, otherwise given value read-only

    I try to make a PDF form to fill out, and a document existing, using Acrobat Pro, which does the following:

    Form is designed to allow customer agrees to buy a personalized work of art.

    The work has a base price, ArtworkPrice. (The ArtworkPrice field is editable)

    The customer can choose to include a picture frame. (AddFrame 'Yes' box.)

    Choose 'Yes' to add a frame, adds an amount.  (The FramePrice field is editable only if AddFrame checkbox is enabled)

    Otherwise, leaving unchecked AddFrame fills the FramePrice field with a value of 0.00.

    The TotalPrice is calculated as the sum of the fields FramePrice and the ArtworkPrice. (The TotalPrice field is read-only)

    So... this part of the form looks essentially this:

    AddFrame? [] Yes

    ArtworkPrice _ $ + FramePrice $_ = TotalPrice $_

    The FramePrice field must be 0.00 (and not editable) at all times unless the AddFrame checkbox is selected.

    How can I do this?

    Add this code to the MouseUp of AddFrame event:

    If (this.getField("AddFrame").value == "Off") {}

    this.getField("FramePrice").value = 0;

    this.getField("FramePrice").readonly = true;

    } else {}

    this.getField("FramePrice").value = "";

    this.getField("FramePrice").readonly = false;

    }

Maybe you are looking for