I've been scouring the forum, and can find topics close to what I'm trying to do but not close enough for me to fill in the gaps. I'm using a read_data to pull data from a table. The debugger shows the results I want.
The form is a survey where users identify areas they want to volunteer. I've got that working. I want to create a multi-page form that has that in the first page. After submitting the first page. the second page would pull up just the options that the user checked, and allow him/her to check an additional box to indicate in three of those records to show which are their top three preferences.
My challenge is loading the selected options into a CF6 form to allow the user to update.
Thanks in advance!
The form is a survey where users identify areas they want to volunteer. I've got that working. I want to create a multi-page form that has that in the first page. After submitting the first page. the second page would pull up just the options that the user checked, and allow him/her to check an additional box to indicate in three of those records to show which are their top three preferences.
My challenge is loading the selected options into a CF6 form to allow the user to update.
- If I have several records, what action do I use to actually display? It doesn't seem that the repeater makes sense, unless I use a count of the records to set the multiplier.
- How do I load a value into a field? I've tried every variation of {var:blahblah} I can think of .... {var:model.fieldname}, {var:model.[n].fieldname}, {var:fieldname}, etc. etc. All lead to a blank in the field.
Thanks in advance!