Disable/enable form field on dropdown change.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
atultalhar
Member II

Disable/enable form field on dropdown change.

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
sanjaybandhniya
Senior Member

Re: Disable/enable form field on dropdown change.