LiveCycle ES2 - Auto Populate Date field when signed

Good afternoon,
I've got a signature field called "sgnPOC" and a date field called "sgnPOCDate" I'd like to have the date field filled in automatically when the sgnPOC is digitally signed.
I added the following to the postSign* event to sgnPOC.
FORM.Main.sgnPOCDate.rawValue = util.printd("mm/dd/yyyy", new Date());
and different variations including setting the date to yyyymmdd and like. It just won't auto populate. It passes the script check in the script editor.
any ideas?
Thank you.

Thank you,
I tried the following - to no success.
FORM.Main.sgnPOC::postSign - (JavaScript, client)
var myDate=date()
FORM.Main.sgnPOCDate.rawValue = Num2Date(myDate, "YYYY-MM-DD")
I also tried this
FORM.Main.sgnPOC::postSign - (JavaScript, client)
var myDate=date()
$.rawValue = Num2Date(myDate, "YYYY-MM-DD")
Which also did not work, but wouldn't that need to know where to put the date?

Similar Messages

  • Auto populate date field

    I have a JavaScript that I use to auto populate date fields. However, I've discovered that it doesn't work when the form is opened on an iPhone or Android phone. Is there a way to auto-populate a date field without using JavaScript?

    What app on the iPad are you using.
    Different apps on mobile devices have varying degrees of JavaScript compatibility.

  • Auto-populate filename field when saving?

    I have a form which contains a Save button (using the following JavaScript: app.execMenuItem("SaveAs"))
    I have a required field on the form called 'ProjectTitle'. Is there something I can add to the button script which will pick up what the user types in the 'ProjectTitle' field and use that as the filename when they click the 'Save' button?
    They wouldn't be required to use the carried over text, but it will save time and prevent possbilty illogical filenames.
    Anyone? Thanks!

    Hi
    I know but you can try to use the field-symbols
    DATA: WI_AUFK TYPE CI_AUFK.
    DATA: FIELD(30) TYPE C.
    FIELD-SYMBOLS <FS> TYPE ANY.
    FIELD = '(PROGRAM NAME)STRUCTURE NAME'.
    ASSIGN (FIELD) TO <FS>.
    WI_AUFK-FIELD1 = ....
    WI_AUFK-FIELD2 = ....
    MOVE-CORRESPONDING WI_AUFK TO <FS>.
    So you're looking for the name of the program and the structure.
    I suppose they can be: SAPLCOIH, CAUFVD, so:
    DATA: WI_AUFK TYPE CI_AUFK.
    DATA: FIELD(30) TYPE C.
    FIELD-SYMBOLS <FS> TYPE ANY.
    FIELD = '(SAPLCOIH)CAUFVD'.
    ASSIGN (FIELD) TO <FS>.
    MOVE-CORRESPONDING <FS> TO WI_AUFK.
    IF WI_AUFK-FIELD1 IS INITIAL
    WI_AUFK-FIELD1 = ....
    ENDIF.
    IF WI_AUFK-FIELD2 IS INITIAL
    WI_AUFK-FIELD2 = ....
    ENDIF.
    MOVE-CORRESPONDING WI_AUFK TO <FS>.
    Max

  • Auto populate date field in form

    Hi
    I have been trying to get a field in a form to automatically populate with todays date. I have got a script which defines the default value for the field as: document.dform.currentdate.value=displayfirst+"/"+displaysecond+"/"+displaythird
    where dform is the name of the form, and currentdate is the name of the field.
    This works fine.
    But I am using the form to populate another program, and the field name must be 00N20000001QbHo
    I assumed therefore that I should use: document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
    But this does not work. In Dreamweaver the .00 appear red.
    I suspect that I need to put 00N20000001QbHo in parentheses or something similar.
    Can anyone help a newbie who doesn't know what he is doing? Full script below
    <form name="dform">
    <input type="text" name="00N20000001QbHo" size=11>
    </form>
    <script>
    var mydate=new Date()
    var theyear=mydate.getYear()
    if (theyear < 1000)
    theyear+=1900
    var theday=mydate.getDay()
    var themonth=mydate.getMonth()+1
    if (themonth<10)
    themonth="0"+themonth
    var theday=mydate.getDate()
    if (theday<10)
    theday="0"+theday
    var displayfirst=themonth
    var displaysecond=theday
    var displaythird=theyear
    document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
    </script>

    JavaScript.is.not.Java.
    This is a Java forum. You could look out for a JavaScript forum at JavaScript.com. I believe JavaRanch also has one.
    db

  • Populate date fields when closing or canceling document

    When any document closes or is canceled, populate the existing close date and cancel date with the date of the transaction. This would greatly help custom reporting.

    Hi!
    1) in query designer , go to properties of keyfigure there u can change the display name just try to change the name thats visible by default  u can see the name of keyfigure which can be changed.
    2) & 3) u have to use abap code i n update routine and updates rules are in BW
    just search the forum for examples there are  a loot of them in SDN.
    if u r using 2004s
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/content.htm
    else
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/content.htm
    Message was edited by:
            Mohan Krishna

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all,
    I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF.
    I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field.
    its not working ..
    is there any way to achieve it
    Regards,
    Shakir

    Hi,
    Always mention your JDev version.
    The valueChangeListener would fire only when you set the autoSubmit property of the field to true. Can you elaborate your requirement? What do you mean by related data? Are you performing some sort of search?
    If you want to get the value you entered on the field, just set autoSubmit to true and get the new value from the valueChangeListener. If your requirement is something like as and when you type, do something, you need to check out this approach :https://blogs.oracle.com/groundside/entry/auto_reduce_search_sample
    -Arun

  • How to auto-populate form fields between documents?

    I'd like to create an interactive form where the user inputs data into different fields and then the data gets auto-populated into other fields in forms linked to the original form. Is this possible with Acrobat XI? If not, then which Adobe product is best suited for this? If it's possible, how difficult is this to do? I don't need exact "how to" tips at this point. I am not a developer and I don't have any experience with Action Script. I'm just researching what products I can use, as a non-techie, to do the job. Thanks.

    Thanks for your reply. I'm having a hard time understanding the functionality on the end-users's side with the different Adobe forms products. I did a little more reading up on this, but it's still not 100% clear. Perhaps you can help clarify.
    Scenario 1: The user does NOT have a copy of Acrobat XI on their end, and  I do NOT have a subscriptiont to FormsCentral, and I do NOT enable import/export features in the form using Adobe LiveCycle Reader Extensions. In this scenario, the user can fill out my form, but they can't save a copy of the completed form on their local drive. I, however, get a copy of the completed form where I can then extract and analyze the data.
    Scenario 2: The user does NOT have a copy of Acrobat XI on their end, but I have have a subscriptiont to FormsCentral. The user can complete the form and save it on their local drive, but I can't have data auto-populate from one to another. (Note: I went to the FormsCentral website and it says "Allow respondents to download the PDF form, print out, save, EDIT and submit later." I interperet that as meaning they can add text to a fillable form and save it on their end.)
    Scenario 3: The user does NOT have a copy of Acrobat XI on their end, but I have enabled the form with LiveCycle Reader Extensions so that I can have data auto-populate from one form to another. However, I have to pay for an Extension license fee. I managed to find the pricing, and it's too expensive for my needs right now. I'm looking to share the forms with students, so this is not an option.
    Scenario 4: The use HAS Acrobat XI. I can get data to auto-populate from one form to another and the user can complete and save on their local drive. This scenarios is not an option for me / Can't get students or schools to pay for a full license of Acrobat XI is not an option at this point.
    Is my understanding correct? If so, I feel like I've hit a dead-end. The only cost-effective solution is to have a simple fillable form without the ability to auto-populate data between forms. Sigh.
    Thanks.

  • Create an InfoPath Form to Auto Populate Data in SharePoint 2010

    In Anne Stenberg's Blog from 2 Nov 2011 3:00 PM "How to Create an InfoPath Form to Auto Populate Data in SharePoint 2010" she artfully steps through how to create an InfoPath Form to Auto Populate Data. It works but... Jason, another user, 
    wrote whenever the form is opened again either to view or edit, it displays the current users information instead of the value of the person who completed the form in the first place.
    Anne's response was "Hi Jason - I had forgotten I had that problem, too. Change the Form Load rule's condition to
    DisplayName is blank and that should work."
    My problem is I can't find anything other than AccountName in "Select a Field or Group" [GetUserProfileByName (Secondary)] to use in the Condition statement that will correct the problem.
    Any help will be very appreciated.
    Thanks,
    Joe

    Hi Joe,
    I recommend to add one more condition in Form Load to make the form not be populated with current user’s information (You can change Title to another column which should not be blank when users create a new item).
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Backend order entry auto populate address fields

    hello Guys,
    we are getting orders by phone that i enter manually through the admin section of BC.
    the customers have accounts with with their contact details saved.
    until now i have been manually entering the delivery details on each order.
    is there any way to have this populate the fields on these orders when i am in the backend.  it seems a bit strange that i have to enter the address details for each order when i have the customers details stored in our data base.
    any help would be appreciated.
    thanks.

    I'm looking to Auto-populate address fields after selecting a name from a drop-down. iPad compatability not required. Most of my users will be using Acrobat Pro or Reader on a PC. I'm generating the files on Mac Abrobat X Pro.
    Is there an updated tutorial link someone knows about by chance? The above link no longer has a tutorial on it that I can see.
    Or, if anyone can direct me to a javascript or something that I can modify with my data list, that'd be great! I've been looking all over the place, and have been struggling to find something that looks like it would work the way I want it to. I need the data list to be self-contained inside the pdf doc, not sourced from an outside database.
    Thanks a bunch!

  • Using JavaScript to auto populate a field based on numeric value of a separate drop down field

    Hello, I am trying to set up a simple, I hope, javascript which will enable to me auto populate one field based on the numberic value of another field using Acrobat Pro XI.
    Essentially I have 2 drop down fields (we'll call them DD1 and DD2).
    DD1 is the sum of 8 preceding drop down values. That sum can be anywhere from 0 - 40. Whatever that sum falls within a range which identifies a rating. The ratings and ranges are below:
    0-8: Non-Performer  
    9-16: Low Performer  
    17-24: Performer  
    25-32: High Performer  
    33-40: Exceptional Performer
    DD2 is where the rating ("non-performer", "low performer", etc.) will be captured. Instead of requiring the user to look at DD1, determine the value, and then identify and input the rating manually, I would like DD2 to auto populate the rating based on the value (sum) in DD1.
    For example, if DD1 shows a value of 27 then DD2 would auto populate "High Performer". So how do I write this code or execute this? In excel I would use an if, then statement. Is there something similar in Acrobat Pro XI.
    Any help is greatly appreciated. Thank you in advance.

    If you use a text field, the custom calculation script could be:
    // Custom calculation script for text field
    (function () {
        var s = getField("DD1").valueAsString;
        // Blank this field if input is blank
        if (!s) {
            event.value = "";
            return;
        // Convert string to number
        var v = +s;
        // Set this field's value based on the input
        if (v <= 40 && v >= 33) {
            event.value = "Exceptional Performer";
            return;
        if (v < 33 && v >= 25) {
            event.value = "High Performer";
            return;
        if (v < 25 && v >= 17) {
            event.value = "Performer";
            return;
        if (v < 17 && v >= 9) {
            event.value = "Low Performer";
            return;
        if (v < 9 && v >= 0) {
            event.value = "Non-Performer";
            return;
        // If none of the above fit, blank this field
        event.value = "";

  • Auto-populate form fields based on end user input?

    I'm currently attempting to create a new form that has a combo box "Locations" with various options.  What I'm looking to do is have another text field auto populate other fields related to that location (such as address, contact information) to save on time and reduce opportunity for end user errors in input.
    What are my options for accomplishing such a task?  Some form of binding fields with a MS database possibly?
    Thanks in advance for any advice and assistance on this matter!

    Paul,
    The form and (potential) database would be located on a shared drive on the company network in which those that would use the form already have access to.
    The pc's that user's would be using have Reader 9.
    The pc I'm using for developing this form has LC Designer 8, Acrobat Professional 8, and Reader 9.
    Ideally, I would "like" for the end user to have the ability to add new locations, addresses, etc ... in the event it is needed, although this would not be likely to come up.
    Based on the software I have on hand, and the need to not incur additional expenses, what would you suggest?
    Thanks again Paul!

  • Auto populate text field base on anothe r text field input

    ive created a medical form that the end user enters codes for medical reasons and a description for that code. the description are very long and tedious. is there a way to have the user enter the code in one field  and have it auto populate another field with the correct description?
    I was able to do this with a  combo box but not with a standard text box. please note, i  have never learned javascript and have been ""duct taping" peices of code to make things work  up until now . appreciate the help

    The advantage of the combo box is the automatic validation of the input as the selection is made.
    You can use control statements like the "if" or "switch" statement or perform an array lookup. This action can be performed in the on blur action of the input filed or in the calculation script for the target field.

  • How can I populate a date field when document is signed?

    I have 4 digital signature fields in a PDF form.  Next to each signature field is a date field (m/d/yyyy format).  I would like it so when the user signs the signature box that the date field next to it populates with todays date, then changes to read only (so it cannot be altered).
    In Adobe Acrobat Pro 9 I have this form and it has the following fields
    Signature1
    Signature2
    Signature3
    Signature4
    DateField1
    DateField2
    DateField3
    DateField4
    The Signature fields trigger a Topaz.GemSignPlus driver where the end user will be signing on an electronic signature pad.
    How can I use Javascript to detect when one of those Signature fields is populated and then fill in the date to the approrpiate date field?  I tried creating boolean variables initialized as false for each sig field.  Then when the signature is done I try to change it to true, but for whatever reason my javascript detecting the value doesn't do anything.
    I've searched the net endlessly for this solution.  I can't believe I'm having such a hard time finding an answer.  I mean how many places do you go where they ask you to "Sign and date here".  Every signature based document I've ever seen also requires a date.
    Anyway here's what I have.  In Document JavaScript functions I have a script name called populate date:
    function populatedate()
    var bSignature1 = new Boolean();
    var bSignature2 = new Boolean();
    var bSignature3 = new Boolean();
    var bSignature4 = new Boolean();
    if (bSignature1) {
        DateField1.value = util.printd ("m/d/yyyy", new Date());
    if (bSignature2) {
        DateField2.value = util.printd ("m/d/yyyy", new Date());
    if (bSignature3) {
        DateField3.value = util.printd ("m/d/yyyy", new Date());
    if (bSignature4) {
        DateField4.value = util.printd ("m/d/yyyy", new Date());
    In each signature field I have under the Signed tab "This script executes when field is signed:
    var bSignature1 = new Boolean(true);
    I'm trying to change it to true see.  My thinking is if its true than DateField1.value should print the m/d/yyyy in it from the built in Date() function.
    But maybe I am not getting this context correct.  I am new to Javascript in Adobe.

    It's quite a round-about script... Why not simply use the signature signing script to set the value of the date field? The correct syntax for that is:
    this.getField("DateField1").value = util.printd ("m/d/yyyy", new Date());

  • How to auto populate data values on Material Class in Classification?

    Hi,
    I created 10 characteristics and assigned them to a class (type 001 for Material). This class I added in Material Master under Classification.
    These 10 characteristics contains 2 key values where these 2 values able to retrieve the rest of 8 characteristics, which stored in different customize tables.
    Is there a way to make when user enter 2 key values of the characteristics in the class and the rest of 8 characteristics would be auto populate base on these 2 key values?
    USER_EXIT or something?
    Please help.
    Aish  T.T

    Hello,
    You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
    I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
    To get value from list:
    http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
    http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
    To set value in column:
    http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
    http://spservices.codeplex.com/discussions/468729
    If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Auto populate for fields in ZTable

    Hi
    I created a Z Table with 10 Fields,Out of those 2 fields are timestamp and Created by.
    Timestamp and Created by are made Output only fields in Table Maintenance Generator
    SE11> ZTable>Table Maintenance Generator>Environment>Modifications-->Events
    Type -5  concatenate sy-datum sy-uzeit into ZTable-Timestamp.
    With which when user performs a manual posting in the table and save a record in SM30 the Timestamp is populated automatically.
    Similar to these how can i Auto Populate the Created By with the user id (logon id) of the user who made the posting.
    I tried to create a new event of type-5   - System is not allowing me to create a event another event of same time
    How can i enhance the exisisting event so that i can get Auto Populate of Created By
    Thanks in advance

    Hi friend,
    Put your code which populate user name inside form of event 5 (maybe below your existence code).
    regards,

Maybe you are looking for

  • Connecting a 2nd laptop to wireless router

    Hi, Everyone - I have my Mac desktop connected to a WRT54GS wireless router, as well as a Dell laptop connected. All is working fine up till now... Now I'm trying to connect a 2nd Dell laptop but can't get it to connect! It detects the network, but w

  • Reg:: Error while XI Transport Using CMS

    Hi! SAP Guru’s, I am trying to transport XI Integration Design and Configuration Objects from X42 (DEV) to X44 (Quality). I want to transport Transport ID Design:5909a730a2fe11dcc8dd001125e7370c                                                        

  • Trouble rationalizing use of multi-threading in run of the mill servlets

    Hey everybody, While spending time writing an internal wiki article on servlets for work, I asked myself a very basic question: What does multi-threading buy average servlets where the business logic requires procedural handling of the request? Don't

  • Technical aspects of a background job

    Hi! Can anyone perhaps tell me where I can find documentation on the technical aspects of a background job. For example, I want to know if there are any differences in a database update when running a program in foreground or in background. What abou

  • For Newbie To Check First

    For MacBook Newbie that required answers, check this link first, for it is provide well manage information and most up to date trouble shooting for MacBook. http://www.apple.com/support/macbook/ I, myself still find something usefull here and there f