I am trying to create a form using repeating groups. That part is done. I have the input fields auto-binding to the DB. The staff has to fill the form out daily, and would like the ability to auto-populate the form with yesterday’s data from the DB, and have a Change-All drop down outside the form. The Change-All dropdown form contains the same Option Set of options as the dropdown list inside the repeating group. Ok, I will walk through the workflow. I apologize, but cannot share an editor as it contains some protected info.
When page loads:
The user selects which team they are filling the form out for from the dropdown on the right. The data source of the RG changes on that action, and the list of players load into the RG:
If you select the dropdown in the RG, it auto binds that to a DB thing. Same if you select the 2nd Session radio button. The two empty inputs on the right are just me tinkering with different potential solutions.
Problem #1: When the Team is selected from the dropdown, I need the DB value from yesterday’s training session to populate the dropdown in the RG.
Problem #2: If the user clicks the Change All dropdown and selects one of the input options(Option Set from DB) I want that to overwrite all Dropdown inputs inside the RG.
Any help would be greatly appreciated, I have been stuck here for a couple of days. I am wondering if there is a way to create a Custom State for each option in the dropdown list, and then change the state of the group inside the RG to match the State of the Change All dropdown. I am unsure how to pull this off, but I think it could work. Or I am way off and you all will save my sanity! Thanks in advance!





