These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Checkbox issue.

seetaram.c
Registered: Jan 24 2007
Posts: 4

hi to all,
i am using checkbox control in my PDF form, but i have one requirement that i need to make it as a Mandatory field and i need to display error message also. like we are displaying in textfiled.
  
thanks & Regards
Seetaram.C

My Product Information:
Acrobat 7
tedpadova
ExpertTeam
Registered: Dec 31 2005
Posts: 848
You can add a JavaScript to check the field on a Submit button. If the box isn't checked, you can have an alert message reported in an app.alert dialog box. If the box is checked, the form can be submitted without the alert dialog opening. See the JavaScript Specification manual for help in writing the script.

ted

The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.