Skip to main content
Known Participant
September 5, 2025
Answered

I need help with Java Script button

  • September 5, 2025
  • 1 reply
  • 185 views

I have a button at the bottom of the form when clicked I want it to inform the user that not all required fields have been entered. It was working successfully on a different pdf and I just copied and pasted the java script and changed the required fields. But the error message is not popping up. 

 

Thank you for your time! I appreciate the help. 

Correct answer PDF Automation Station

Your field named "Client Job" has 2 spaces between the words "Client" and "Job", which does not match "Client Job" in the script.  Either add another space between the words in the script, or remove one of the spaces in the field name.

1 reply

PDF Automation Station
Community Expert
Community Expert
September 5, 2025

Your field named "Client Job" has 2 spaces between the words "Client" and "Job", which does not match "Client Job" in the script.  Either add another space between the words in the script, or remove one of the spaces in the field name.

Known Participant
September 5, 2025

Good eye!! Thank you so much. That would have taken me a while to figure that one out. I appreciate your help.

PDF Automation Station
Community Expert
Community Expert
September 5, 2025