I am trying to develop an app in which a quiz is generated dynamically at various instances to track a patient's progress. I am able to generate various instances of the form, have the form filled out and save the results. The problem is that the answers to the quiz are not posted upon submit - just the default values.
Co-Pilot tells me that user input is likely being lost due to the reinitialization of the TestFormModel. However, I am guarding against that, I thought.
Here's the submit code:Submit Code
Any help in figuring this out greatly appreciated. The code for this is located at https://github.com/rswetnam/SequentialTests.