Change application-slots widget checkbox based on condition?

  • Profile Image
    Asked on March 01, 2018 at 08: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". 

  • Profile Image
    Answered on March 02, 2018 at 01: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!