Hi All,
We have a requirement where we have two field labels : Name and Address . When the dialog is opened for the first time both the fields should be enabled . when content is entered in the Name field ,the address field should get disabled and vice versa.When the dialog is opened after saving the data ,the fields which have been filled should come up populated with the filled data and the other field should get disabled.Again ,when the data from the populated field (say name)is removed both the fields should get enabled.
I am new to Adobe CQ .Any sample javascript code snippet will be really helpful.
Thanks and regards