How to disable / enable field

I hope you will appreciate the advice on how to make a field enable only when you select the correct answer in another field.

We can use the example of an employee form, where the employee does not get an access card until they sign an NDA (Non-disclosure agreement).
As long as you don’t select in the Signed NDA field „YES“, you will not see the field titled Access card number.

doo.model.<[Access card number (accessCardNumber)]>.isEnabled = doo.model.<[Signed an NDA (signedAnNDA)]>.value 

Thank you for reading.

With kind regards,

1 Like