Answered
I have a fillable form where users can input a single digit numeric value that corresponds to an event. I need to verify that the number the user has input is valid. If not window needs to pop up that states Input value is not correct and then provide example of valid choices. If numbers were sequential this would be easy but they are not.
Valid user input values would be 0,1,4 or 7.
Can someone please provide script that would validate user input using values provided above?
// all is well
} else {
app.alert("Invalid value.");
event.rc = false; // prevent the user from entering this value
}
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com