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.