cancel
Showing results for 
Search instead for 
Did you mean: 

Disable/enable form field on dropdown change.

atultalhar
Champ in-the-making
Champ in-the-making

I have a custom form (YUI) where it has one dropdown field (status) and one datePicker field (date).

Dropdown field has values as 'aa', 'bb', 'cc', 'dd' which is coming from constraints.

My requirement is to enable/disable datePicker field when dropdown value is not 'dd'. (In edit and create form)

datePicker Field should automatically get disable/enable whenever dropdown value changes.

Using 5.2.4 enterprise edition.

1 REPLY 1