1 Reply Latest reply on Oct 22, 2012 11:08 AM by rush_pawan

    JS Validation of input fields in dialog

    shankaa

      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