How to reference a multiple choice field option in calculation field?

  • fckovacs1964
    Asked on December 30, 2020 at 2:48 PM

    Hi,

    In conditional logic I want to say: IF option 1 in a multiple choice field is checked

    then when option 4 ('none of all') is chosen option 1 should be unchecked immediately.

    I would like to calculate the value in option 1 to '0' (that's the unchecking I suppose).

    However, I do not know how to reference option 1, 2 or 3 in the calculation field.

    My field ID is #input_167_0 for option 1.

    When I try to put this in the calculation field only an error is displayed.

    So the rule IF option 1 is checked is true ánd then option 4 (none of all) is chosen, option 1 should then be unchecked (0)

    Can this be done like this?

    Thanks, Feri

  • Basil JotForm Support
    Replied on December 30, 2020 at 6:13 PM

    Hi,

    The only way I can think of to achieve this is to have the select other option be separate from the question and copy a hidden empty drop-down field to your field if the "other" option is selected.

    Sample form Form: https://form.jotform.com/203647409419056

    1609369924 5fed0944d9fd2 chrome WAlbvCL3 Screenshot 10

    Please let us know if you have any further questions.