Disable/enable form field on dropdown change.

cancel
Showing results for 
Search instead for 
Did you mean: 
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
Senior Member II

Re: Disable/enable form field on dropdown change.

Please refer this post,you might get some idea. https://angelborroy.wordpress.com/2018/12/21/alfresco-share-form-field-visibility-depending-on-other...

Thanks & Regards,
Sanjay