Hello,
I have the select multiple question below:
I would like all of the other choices to disappear if the first option (No Equipment Present) is selected.
I've tried a few different statements in the 'relevant' column (each select one choice generates a repeat) but I'm not having any luck.
Example Statement: if(selected(${Item_Type}, 'Capacitor') and not(selected{${Item_Type}, "NoEquipment")
Can someone point me in the right direction here?
Solved! Go to Solution.
Hey @VH_MapS
You have many options:
1- Create separate Select_One question for the equipment availability:
Q\ Equipment Availability:
- Equipment Present
- No Equipment Present
Then use the relevant to hide or appear the next question about the equipment typ.
2- you can use constraint to prevent user from selecting other choices if he selected "No Equipment Present" in same choice list:
if((selected(.,'cpacitor') or selected(.,'regulator') or selected(.,'transformer') or selected(.,'switch') or selected(.,'recloser') or selected(.,'fuse') or selected(.,'meter')or selected(.,'light')or selected(.,'underground_equipment')),not(selected(.,'NoEquipment')),selected(.,'NoEquipment'))
Hey @VH_MapS
You have many options:
1- Create separate Select_One question for the equipment availability:
Q\ Equipment Availability:
- Equipment Present
- No Equipment Present
Then use the relevant to hide or appear the next question about the equipment typ.
2- you can use constraint to prevent user from selecting other choices if he selected "No Equipment Present" in same choice list:
if((selected(.,'cpacitor') or selected(.,'regulator') or selected(.,'transformer') or selected(.,'switch') or selected(.,'recloser') or selected(.,'fuse') or selected(.,'meter')or selected(.,'light')or selected(.,'underground_equipment')),not(selected(.,'NoEquipment')),selected(.,'NoEquipment'))
Thank You for the quick reply!
I used the second suggestion. The constraint worked out great!