I am currently working on forms in AEM 6.3. I have a repeatable panel where customer enters address info. I also have a summary page which shows the summary of the address info. So the address info panel in summary section has the same bind ref as the address info section where the customer enters data. However when customer enters something in address info its not getting reflected in the summary section. If its not a repeatable panel then its working. So does the bind ref wont work for repeatable panels ?
I Guess this is expected as you do not have a single instance where you can interact and set the values directly. You might have to the use the instances API in InstanceManager to set the field value of partular instance . The syntax to use the instances API in InstanceManager is:
For example, you create an adaptive form with a repeatable panel having a text box. When you pre-fill the form with three repeatable text boxes, you need the xml below:
To read AA1 data, specify:
To read AA2 data, specify:
Thanks for your response Mayank.
Bind ref is not going to be helpful for this use case in repeatable panels then.
You can handle that I guess in code editor pretty well. The above approach seems fine to me,