Copy link to clipboard
Copied
I've created a form in Adobe Acrobat Pro DC which will require a user to fill in the following fields: name, business name, phone number, email address, verify email address, & account #. All these fields must be filled out and what's entered must be validated. In the Validate tab for each field I see that I can enter a custom validation script. I have no knowledge of Javascript.
How can I find the correct custom validation scripts to use for each field?
Thanks.
Copy link to clipboard
Copied
First, you'll have to either learn about scripting in Acrobat or hire a developer.
Next, you have to decide what makes a valid field. Phone numbers and emails follow well established patterns, so you'll find plenty of regular expressions for validating these with a google search, but what makes a name or business name valid? Just being not empty? Addresses are very difficult because there is only standardization within a specific area, and even that is sketchy. You can validate things like zip codes and state names, but address numbers and other components of an address vary considerably.
Copy link to clipboard
Copied
As for the name, business name, and account # fields, just not being empty, where the user has to enter something in these fields. I'll try some google searches for phone number and email regular expressions as you mentioned.