Validating a requirement

13-Mar-2020 19:34

One of the questions I get asked again and again is how to validate a field value in an Acro Form with a custom validation script.

Adobe provided a lot of infrastructure to do that with just a simple script.

To start, we create a text field and bring up the properties dialog for the field.

Then we select the “Validate” tab to see the validation options: The default is that the field will not get validated.

Therefore, despite the fact that it doesn't cover all possible formats of phone number in the world, you can use the regexp validator to test a phone number in your country.

This example helps you validate an international phone number by using a different approach.

Let’s take a look at how to do that with a text field that is only supposed to have a value of either ‘AAAA’ or ‘BBBB’ (yes, I know that this does not make much sense in a real PDF form).

Unfortunately, intl-tel-input doesn't provide an event or callback that is executed after choosing a country.This information is used to help the reader understand why the requirement is needed, and to track the requirement through the development of the system.The crux of the requirement is the description of the required behavior, which must be clear and readable.We will use the intl-tel-input plugin for that purpose.intl-tel-input is a popular j Query plugin for entering and validating international telephone numbers.

Unfortunately, intl-tel-input doesn't provide an event or callback that is executed after choosing a country.This information is used to help the reader understand why the requirement is needed, and to track the requirement through the development of the system.The crux of the requirement is the description of the required behavior, which must be clear and readable.We will use the intl-tel-input plugin for that purpose.intl-tel-input is a popular j Query plugin for entering and validating international telephone numbers.As defined in requirements engineering, functional requirements specify particular results of a system.