Hi Forum,
I am new to the site and I think I am also in over my head a little.
I have never used JavaScript before and I really need help figuring out if what I want is even possible. What I was hoping to do with my form (in Acrobat 9 pro) was prevent users from printing it until it had all the required fields populated (of which there are about 15). I have the fields set to “required” but a user can still print the form even if it’s blank or partially filled out. There will NOT be an online submission aspect to the form as it needs to be signed after it’s printed and manually submitted to the HR department.
So my question is, aside from the popup error message that I have put in when they leave a required field blank, can I stop them from printing the form until its finished?. Any help would be greatly appreciated.
OH this is the script that I found on the Forum that causes the popup. That might need some tweaking too… But again if anyone can help I would be SO grateful!
if(/^\s*$/.test(event.value))
app.alert("This field is mandatory, please complete.");
You might want to start looking at the tutorials, articles, and eseminar's on demand on this site.
George Kaiser