Text box with date format - option for today's date.


i want include in form multiple text boxes want user able simple 'insert today's date' instead of manually doing each box. suggestions?

is shift-click in field simple enough? if so, try following in text field's on focus event:

 

// on focus script text field

if (event.shift) {

     event.target.value = util.printd("mm/dd/yyyy", new date());

}



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands