Hello everyone, I'm an ignorant newbie here ate the forum! ;-)
I just learnt how to apply some different javascript to calculate form fields - all by browsing through this forum only and must say ... WOW - what quality answers you get here! !!!
My BIG Thanks goes to all the experts on this forum who take their time provide all the answers! It's great to see!
Now, I am not a java expert at all, forgive me for my ignorance, but I set up a pdf that includes some fields which I'd like to have validated against the input. I was looking through this forum and also "Binged" a lot (am a Bing fan, yep) but could not find any hints on how to achieve that.
Basically, I'd like to input, where it says "validate >> run custom validation script >> edit" some custom scripts that would then allow only certain input. Like;
field 1: Date
field 2: A sequence of 4-6 letters followed by 4 numbers
field 3: numbers only
field 4: email
field 5: sequence of 8 numbers separated by a hyphen in the middle
Is this possible at all?
Thank you very much
Mitch
Have a look here, for example:
[url]https://developer.mozilla.org/en/core_javascript_1.5_guide/regular_expressions[/url]
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com