Hello,
I am working on a form with several list boxes. I'd like to make different buttons appear when certain boxes are checked. For instance, list box has Exam only, First aid, Labs, and Sutures. If the user checks Exam only, I want a button to appear for that; if they choose First aid, then a different button shows up.
The problem is, they can choose more than one option. So if they choose both Exam only and First aid, I want both of those buttons to show up. Can anyone help with this?
Thanks!
Either use a visibility region for the button or under the Advanced tab for the button, click on Use enabe expression, and then have the visibility region or enable expression test the setting of your list boxes.
use the match function as part of the visibility field. So for "First aid" in the list-box, have the button in a visibility field with this code
{MATCH(DOCUMENT.LISTBOXNAME ,"First aid") > 0}
This will check if the First aid box is checked, even if there are other boxes checked as well. to add other visibility regions, replace "First aid" with "Exam only", or whatever else your List-box contains.
P.S.
DOCUMENT.LISTBOXNAME should be whatever the name of your listbox is.