Javascript to make a drop down filed choose default values
I have 4 dropdown fields C1, F1, F2, F3 , the very first field i.e C1 I intend to make as the the controlling field, such that when I choose say :
if string value not = to "A" in C1 then F1 becomes readonly and also reset to its default values
if string value not= "B" in C1 then F2 becomes readonly and also reset to its default values
if string value not= "C" in C1 then F3 becomes readonly and also reset to its default values