I've got several repeating tables sitting in a InfoPath form. Essentially each one lists a load of strings with checkboxes next to them. When the user clicks submit I want to ensure that at least one checkbox per repeating table has been ticked.
I was just in the middle of writing a validating event handler for the table which would set a validation variable to either true or false but I realised that the main data source is read-only on validating and changed events.
How would I go about checking that something has been ticked in the repeating table before the form is submitted?
[NOTE] I'm using repeating tables instead of the multiselection control because the form has to be browser compatible.
Thanks in advance