Thanks for Watching If this video helped you , please don't forget to SUBSCRIBE. To get the PDF File with Script become a patron and support us / pdfformjavascript
WOW!!! This is exactly what I was looking for!!! - also on the Date I used a variation to show mm/dd/yyyy and it also worked Great JOB! Thanks!!! NOTE: I used the program "Kofax Power PDF Advance" - Under the "Edit" menu / "JavaScript" / "Document JavaScript" option, then I entered your script exactly as shown. Having the same Field name you created is KEY.
For doing so, we will have to put a script to check if the date field is empty or not, if date field is empty then we will enter the date else keep whatever there is previously in that date field. Below is the script : var f = this.getField("Your FieldName"); //Change the field name here if(f.value == "") { //this line checks if the field is empty f.value = util.printd("mmm/d/yyyy", new Date()); } {f.value = f.value} Hope this helps.
@@pdfform Can we do like this: Add a button to fetch today's date and paste it in a text box when clicked. (The same script as your video can be used for the button.) If we want to change the date, we can click the button, else it will remain the same.
Hi, thank you for the video. I am looking for a code or idea, where all the days dates shall appear automatically when we select the first date of the week. Please suggest if you have idea.