cancel
Showing results for 
Search instead for 
Did you mean: 

disable Date widget when a value is selected

marwen
Champ in-the-making
Champ in-the-making

Hello,

is there a code similar to the below code that can help me disable a datepicker field when another field is selected please see below code which is not working fine:


var fieldtest= scope.findFormFieldWithId(scope.allFormFields, "datepicker");
if(field.id==='dropdown'){
fieldtest.readOnly = true;
}

Any suggestion ?

0 REPLIES 0