OMG, I think you just saved my life.
Please let me explain a bit further to ask how your suggestion might be applied here, because I haven’t yet made it to the Data Bindings section yet (though it’s been calling my name).
Okay, during my prototyping (and learning Anvil Works) phase, I created three Forms, each of which renders a Question in a non-editable RichText box; and depending on the Form, permits an Answer below the Question via either a:
RadioButtons in a Group
Each Form version has a slightly different Submit/Continue button navigation workflow (which I’ve taken care of).
(SideNote: More precisely, these are SubForms that programmatically get added to the main, top-level Form. Just adding that detail. ).
But now that prototyping is complete, I need to turn this on it’s head. Ideally, I would like to now “adjust” those same three Forms (without create new ones), such that someone else (content creators) (a) can type in the RichText content Question, and then (b) also provide the corresponding correct Answer:
For the TextInput Answer Form version, that answers is specified via a TextInput Box.
For the RadioButtons Answer Form version, they need to specify the correct Selection, and each button’s visible text and the value.
And for the CheckBoxes Answer Form version, they need to specify the correct Choice(s) and the visible text for each Choice.
They don’t have to specify the workflow logic or event handlers for buttons or navigation links that happen to be on those Forms (I prefer they be invisible to them, actually). I already coded that. These are just content producer people who need to populate a Question box, and one of three Answers formats. And when they signal that they are done (say, by clicking an “I’m Done” button), ideally I want to pickle that populated Form and save it to a Data Table.
Then, when those same populated Forms are rendered to persons taking a survey, they see the RichText Question box but it’s non-editable , and a place to specify their answer (one of three formats). But they can’t see the embedded answers.
In other words, these are the same pickled Forms, but render slightly differently to the content producer versus to the survey taker.
How can Data Binding help me here? I will read up on them now. Thank you.