Change application-slots widget checkbox based on condition?

  • MtCoolumVets
    Asked on March 1, 2018 at 8:46 PM

    I am using the applications-slots widget on a form, with a single checkbox. It's perfect.

    I want to include a condition to "untick" the box if a specific radio button is selected.

    How do I do this? If I have a standard checkbox rather than the widget, I can just set the value to 0 and it works OK. Setting the widget to zero doesn't seem to work.

    In the form listed below

    "On the bus" is the widget

    "No / Cancel" is the radio button. When Cancel is selected, this should untick "On the bus". 

  • Nik_C
    Replied on March 2, 2018 at 1:43 AM

    Unfortunately, that cannot work, since you cannot use conditions on widgets. So a logic that you can use in regular checkboxes, where 0 will uncheck, cannot work. Widgets work on a separate iFrame so data cannot be set there like in regular fields.

    If you have any further questions, please let us know.

    Thank you!