Checkbox and text input

Hi,
I am enteringthe Data Access Start/End Date fields and the No Date Limit checkbox. They should be mutually exclusive:

  • If a user enters a start or end date, the checkbox is disabled.

  • If the checkbox is checked, both date inputs are disabled (and ideally cleared).
    I tried handling this with a boolean flag, but the inputs aren’t disabling. Any pointers on the right approach? Thanks!

Currently, Workshop does not provide a built-in way to directly disable the Date Picker widget based on a boolean variable.

As a workaround you can put the date component inside of a section with conditional visibility.
If the check box is marked, this section can be hidden.

1 Like

Thank you, that was the solution.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.