We have a need to set the value of a selected option (FAIL / PASS / NA) to a numeric value other than the index value of the selected option. In this example we are focusing on the "NA" option.
The selections need to output the following values: FAIL = 0; PASS = 1; NA = 0. So if we have an element called "question1" that is a select or picklist widget, then adding a number widget below this field with the following Dynamic Value will support the requirement.
if (question1==2) {0} else {question1}
Comments
0 comments
Please sign in to leave a comment.