Copy link to clipboard
Copied
I'm completely new to this, so I apologize in advance for my lack of knowledge...
I need a student ID custom format script for a field in several of my forms to be set to enter specifically the letter P followed by 10 numbers. The P can always be there, but I need the person that fills out the form to be able to enter exactly and only 10 numbers after the P.
Can anyone help me and tell me what I need to do, or where I can learn how to do this please?
Copy link to clipboard
Copied
Hi.
Select the text field, right-clic : Properties : Format : Special : Arbitrary mask
Then use this mask:
P9999999999
More info: search the word "arbitrary" in this document https://helpx.adobe.com/pdf/acrobat_reference.pdf
Acrobate du PDF, InDesigner et Photoshopographe
Copy link to clipboard
Copied
Hi.
Select the text field, right-clic : Properties : Format : Special : Arbitrary mask
Then use this mask:
P9999999999
More info: search the word "arbitrary" in this document https://helpx.adobe.com/pdf/acrobat_reference.pdf
Acrobate du PDF, InDesigner et Photoshopographe
Copy link to clipboard
Copied
Thank you so much! This helped immensly!!!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Place this as a "custom format script" :
if(event.change.charCodeAt(0)>57|event.change.charCodeAt(0)<48)
{app.beep(); event.rc=false;}
Acrobate du PDF, InDesigner et Photoshopographe

