How can I fill a date field when the document is signed?

I have 4 fields of digital signature in a PDF form.  Next to each signature is a field of date (format dd/mm/yyyy).  I would like it so when a user registers the signature box that fills the date next to her field with today's date, then change to read only (so it cannot be changed).

In Adobe Acrobat 9 Pro, I have this form and it has the following fields

Signature1

Signature2

Signature3

Signature4

DateField1

DateField2

DateField3

DateField4

Signature fields trigger a Topaz.GemSignPlus driver where the end-user will sign on an electronic signature pad.

How do I use Javascript to detect when one of these Signature fields is populated and fill in the date in the appropriate date field?  I tried to create Boolean variables initialized as false for each field of GIS.  Then when the signature is complete, I try to change it true, but for some reason any my javascript detect that the value does nothing.

I searched the net endlessly for this solution.  I can't believe I'm having a difficult time finding an answer.  I mean how many places you go where they ask you to "sign and date here."  Each document signature base I've ever seen also requires a date.

In any case, here's what I have.  Functions, I have a script called JavaScript Document name 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 ("d/m/yyyy", new Date());
}

If {(bSignature2)
DateField2.value = util.printd ("d/m/yyyy", new Date());
}

If {(bSignature3)
DateField3.value = util.printd ("d/m/yyyy", new Date());
}

If {(bSignature4)
DateField4.value = util.printd ("d/m/yyyy", new Date());
}
}

In each signature field, I on the signing tab "this script is run when the field is signed:

var bSignature1 = new Boolean (true);

I'm changing to true see.  My thought is that if it is true that DateField1.value should print jj/mm/aaaa in her building in the Date() function.

But maybe I do not get the correct context.  I'm new to Javascript in Adobe.

It's a round script. Why not just use the signature signature of script to set the value of the field date? The correct syntax for this is:

this.getField("DateField1").value = util.printd ("d/m/yyyy", new Date());

Tags: Acrobat

Similar Questions

  • How can I disable a data block when the process is running.

    When I change a value of element in a folder, I want the cursor always focus on this record, until I pressed a button. I want to disable the block, but I can't find the way to disable a block

    Here's something similar to the previous solution:

    -Trigger a TIMES-NEWS-RECORD-INSTANCE

    : GLOBAL.navigation_flag: = 'n';

    -Trigger WHEN-VALIDATE-RECORD

    IF: GLOBAL.navigation_flag = n THEN

    / * The message is just to show how it works * /.

    MESSAGE ('you can leave the record changed after press the B button."); TAKE A BREAK;

    RAISE FORM_TRIGGER_FAILURE;

    END IF;

    -mouse button B (on the control block) owned navigate = no!

    -WHEN - Shutter release BUTTON

    : GLOBAL.navigation_flag: = 'Y ';

    Kind regards

    Zlatko

  • How can I fill out a form when the typewriter is grayed out?

    I was sent a form to complete for a transfer of real estate.  It contains no provision to fill the it.  So I tried to use the typewriter, but the typewriter is grayed out.  I tried the content, add or change a text box, but which is also grayed out.  How to enter the information?  I use Acrobat X Pro.

    You may need to print on paper and go to the pen and ink.

    Then mail must return or fax or scan and join an e-mail out of the scanner.

    Communicate to the author of the file as a PDF form, it seems to be watered and needs fixin.

    Be well...

  • How can I create a scroll effect when the manuscripts of user to the bottom of the image will be blurred?

    How can I create a scroll effect when the manuscripts of user to the bottom of the image will be blurred?

    Hello

    You can create a scrolling movement where the image fade out the scroll, you must use the tab opacity under the effects of scroll Panel.

    If you need especially be blur on the image, then you must change this image in any editing program like blurry image to make a copy of this image, then place the two images (real and blurry) on this page and use the scrolling motion or fade option to replace the images.

  • How can you download pro Prime Minister when the icon does not exist in the clouds? [was: pr]

    How can you download pro Prime Minister when the iucon doesent exist cloud?

    In order to download the software, your computer must meet the system requirements to run the software.

    http://helpx.Adobe.com/x-productkb/policy-pricing/system-requirements-Premiere-Pro.html http://www.Adobe.com/products/premiere/tech-specs.html

    The usual for not being able to download reason is that Premiere Pro (and other video applications such as After Effects) are 64-bit only what they need for a 64-bit computer and a 64-bit operating system.

    If you use a 32-bit computer and operating system, and then you see the icon of Premiere Pro as the software will not work on your computer.

  • How can I check for dates that are the same for today.

    If I have a bunch of dates in a datetime colum. How can I check for dates that are the same for today.
    "For example, this value of days would be ' #dateFormat (now (),"mm dd yyyy") #

    The best I could come up with was:

    Select * from data where data.userID =
    2635 AND
    "Convert (varchar, dateAdded, 101) = ' #dateFormat (now (),"mm dd yyyy") #


    How can I get this to work smart peeople :)

    It is best to make the comparison on the datetime values. One technique is to get the current date at midnight. Then add one day to get tomorrow's date. In your sql query finds all values is greater than or equal to today and less than tomorrow.

    One solution is to do everything in MS SQL

    WHERE the dateAdded > = convert (datetime, convert (varchar, getdate(), 112), 112)
    AND dateAdded = dateAdd (d, 1, convert (datetime, convert (varchar, getdate(), 112), 112))

    Another option could be to use CF to calculate dates:


    WHERE the dateAdded > =.
    AND dateAdded<>

  • How can I configure numerical Lock ON when the computer starts?

    I have a new laptop HP G70.  In the User Guide HP G70 on keyboards - C01540939.pdf, paragraph 3 using keyboards & pointing devices, Page 8 there is a note "the function of the keyboard that is active when the computer is turned off is restored when the computer turns on.   This does not work on my computer HP G70.  It always starts up the number Lock OFF.   How can I configure my computer to set the digit Lock ON when the computer starts?  I always use the number keypad and never use page up/down - button on top/bottom/right/lelt arrow.

    Also, how can I configure my computer to set the touch mouse on the computer OFF for the start.  I always use an external mouse.

    Any help would be appreciated.  It is a simple thing, but the present operation HP G70 is most annoying.

    PLEASE DO NOT CONTINUE TO MEET THIS PROBLEM!

    THE HP G70 WAS FAULTY!   EACH HP G70 HAS THIS PROBLEM!

    HP REPLACED MY HP G70 WITH a HPdv7.  THE HPdv7 PERFORMED THE DESCRIBER NERMAU LOCK FUNCTION AS IN THE HP INCTRUCTIONS.

    .

    Bob_in_PGI

    I'm surprised that nobody knows how to set the Num Lock at startup before you connect.  Where is the help of HP?

    I now have Windows 7 64 bit.

    There must be someone who knows how to do this.

    Bob in PGI

  • How can we add a text field on the stage, but without the text label?

    How can we add a text field on stage, but without the left text label by default?  I want just the field.

    I thought about it.  Go to the page layout palette and change the options of caption for the text box.

  • How can I insert a date field?

    I have download a date field widget, but I can't seem to make it work. Any suggestions?

    Exactly how did you download the file? You can import the library file, and then use on the pages, or if you have downloaded the CC widget addon then synchronize first with CC in the active section, then use in Muse.

    Thank you

    Sanjit

  • How can I save by iPad 3 when the screen is black and nothing appears?

    How can I save my iPad in ITunes or iCloud 3 when the screen is black and nothing appears?

    Is the empty screen, because just the screen is broken, or is the iPad just dead? Have you tried a soft-reset/reboot it?

    At least you can see what you touch on the screen of the iPad, you cannot force a backup to iCloud.

    If the iPad still works and is connected to wifi, a backup should automatically happen (if iCloud backups are enabled) if it is connected and the locked screen.

  • How can I remove a black stoke when the stoke color is transparent?

    Hello

    I hobe you can help me. I have a way is white and the stoke color is transparent, but it seems that it is black. When I record, he is still there.

    How can I remove it?

    Skærmbillede 2016-09-20 kl. 14.04.55.png

    Window > layers

    Window > appearance

    These two indicators show you that something that applied to a layer

    It goes the same for a group

  • How can I deactivate my CS3 photoshop when the program has been removed

    How can I disable my copy of Photoshop CS 3 when my copy has been deleted from my computer and is no longer accessible

    Contact adobe during the time pst support by clicking here and, when available, click on "still need help", https://helpx.adobe.com/contact.html , and request activation reset account.

  • How can I integrate a captacha field without the use of BC?

    I want to integrate a captacha field in the widget of forms and do NOT use the platform of the BC.

    How can I accomplish this?

    Hello

    With Adobe Muse CC 20141, reCaptcha and checkbox field can be added to forms.

    Please install our latest update to try out these new features.

    Release notes | Adobe Muse CC

    Thank you

    Sanjit

  • HOW can I PRINT ONLY in BLACK WHEN THE COLORS ARE DEPLETED officejet 6600

    cyan and mag are exhausted but I want to only print in black for a contract and it will not!

    How can I replace it?

    This printer does not print with missing cartridges, need individual ink cartridges (IIC), be sure to leave the cartridges and then try to go into the settings to print under file > print > printing preferences and locate the Look paper/quality tab under color/Gray scale options and see if Printers lists "Black ink only" as an option available to use. You will still need to replace the cartridges at one point because the printer uses ink in other ways besides just for printing. Here is a link to a document that contains more information about IIC cartridges, black ink only and the other uses for an ink jet printer ink. http://goo.GL/EB1dn

  • How can I remove programs from starting when the system boots.

    REMOVE AN ARTICLE FROM THE START UP PROGRAMS

    Whenever I start my computer, it opens and begins to operate more than one program automatically. One is pinned to the taskbar, but others are not. How can I tell the computer which I do not wish for the programs at startup? Any help you might be able to give is gratefully received. Thank you.

    Download Autoruns http://technet.microsoft.com/en-us/sysinternals/bb963902

    Start the program and click the Connect tab uncheck the entries that you do not want to start.

    Not uncheck anything that you are not sure you know what it is. Your computer may not work correctly or may not even start.

    You can also look at the options of programs that start automatically. It may be possible to disable them.

    Look in the startup folder in the start all programs Menu. Right click and delete any entries that you don't want.

Maybe you are looking for