Copy link to clipboard
Copied
When making changes to the primary date in the current document other dates auto populate, if we modify the primary date, the script seems to stop working.
Here is the script that we found under the primary date:
Copy link to clipboard
Copied
Please post the full script, as text, not as an image, and specify exactly where it's located (under which trigger/action).
Also, open the JS Console (Ctrl+J) and check for any error messages there.
Copy link to clipboard
Copied
Also, post the code of SetFieldValues (it's probably located under Tools - JavaScript - Document JavaScripts).
Copy link to clipboard
Copied
Nothing seems to be set in Javascript.
The custom keystroke script that I pulled from the primary date is the following:
if ( event.willCommit ) {
if (event.value == " ")
this.resetForm(["dDate1","dDate2","dDate3","cDate1","cDate2",
"cDate3","dDate6","dDate4","dDate5"]);
else
SetFieldValues(event.value);
}
Copy link to clipboard
Copied
This form is for the calendar year 2015, you may need to get the 2016 form from the stae of California.
Copy link to clipboard
Copied
Our firm created this form, I have not participated in making the form, just have to modify it now.
Copy link to clipboard
Copied
Have you opened the form in the "Prepare Form" tool and looked at the options for the dropdown list?
Have you asked within the firm for help in editing forms?
Copy link to clipboard
Copied
You need Acrobat Pro to gain access to the full code.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now