Multichoice check boxes
I need to make a checkbox with three options. Checked, not checked, or a dash. I can sort of do this with a dropdown box, but was wondering if there was a way to do it with a checkbox.
I need to make a checkbox with three options. Checked, not checked, or a dash. I can sort of do this with a dropdown box, but was wondering if there was a way to do it with a checkbox.
Not with an actual check box, but you can fake it using a button. The following demo uses a button and text field combination. The button provides the UI and appearance, and the text field provides the means to get/set the value of what I call the composite field. It relies on JavaScript, so you'll have to study it to see how it works, and it won't work on most non-Adobe PDF viewers and most mobile PDF viewers.
Demo: http://www.acroscript.net/pdf/demos/multistate_4.pdf
Things can be simplified if you don't need to worry about getting/setting or importing/exporting the field value, but I don't have a demo for that.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.