How to validate the uniqueness of lines addition over repeating section? before doing the save and submit of the whole form.
Also how to make sure, that no empty lines are added, while pressing add new rows. on repeating section.? before doing the save and submit.
could you clarify what's exactly in your meaning "uniqueness of lines addition" and "that no empty lines are added"?
repeating section's lines are just containers for other controls.
you have to apply check on single controls. different type of controls need different approach...
The repeating section is considered as a work around for a grid lines control in other platforms.
so I am looking for each group of controls as a row on db table,
So when do add more rows I need to :
1- Make sure no empty controls is added.
2- for specific controls, should not be duplicated, ie. (as a primary key per line)
As seen below, I want to capture, the duplication on option 1 selection to be unique on the repeating section.