This channel is dedicated for helping freelancers/individual/professionals with PDF Form JavaScripts whether it be for Adobe Acrobat Pro or Adobe Livecycle (now AEM).
You can become a patron and support us at : www.patreon.com/pdfformjavascript
Also you can join our Facebook Q & A Group: facebook.com/groups/pdfformjavascript
I have 2 text fields, Name and Amount. I want to built a javascript code for when i write name in the text box then the amount will be automatically filled by 50. Is it possible to help me providing javascript code?
Put this code in the field in which you want the numeric value under custom calculation : var v1 = this.getField("Text1").value; var v2 = this.getField("Text3").value; if (v1!=="" && v1 != " ") event.value = 50 else event.value = "";
There are many ways to do it… easy one is to make a hidden field in each and set that field a value if any data is there one that page and then make print button with script to check that each page’s hidden button is empty, if empty it will not print that page (script for print is already on my channel)
I am using another javascript code for auto jumping one field to another field when it full of text. But if i click more members button then new page created but doesn’t work my earliest javascript code because of new fields name. Now what should i do?
5 месяцев назад
👇 The script 👇 ----------------------------- if (!event.value) { event.value = "First and Last Name" ; event.target.textcolor = color.ltGray; event.target.display = display.noPrint; } else { event.target.textColor = color.black; event.target.display = display.visible; }
@@pdfform I am using Adobe Acrobat Pro, newest version, on the above stated macOS and it does not work. I sent the file to someone on Windows and it works for windows, but not for Mac.
Dear can you help me out plz if (d2 == dd2.defaultValue || d1 == dd1.defaultValue){event.value = " " ;}; Syntax Error : Missing ) after condition 9: at line 10
all my working scripts are already provided in the videos.. if you are not able to follow the video , then you can visit our patreon page .. there all the pdf files with working scripts are available..
If I create 3 signature fields on the same page, and I input my signature in the first field, the other 2 fields are automatically filled the same as the first field. Is it possible? If possible , please tell me how I do that.
For anyone too lazy to type this out (like I was), use the prompt below and change your instructional value. I have mine as "First and Last name" if (!event.value) { event.value = "First and Last Name" ; event.target.textcolor = color.ltGray; event.target.display = display.noPrint; } else { event.target.textColor = color.black; event.target.display = display.visible; }
I am trying to do this with lower 0 and upper 21 (22 options), max 10 selected. How do I alter the script for a double-digit maximum? Currently, the script is running as soon as I select one checkbox.