I would like to populate a radio field with the data from a hidden field. Here is what I am planning to do:
I have been able to get Form #1 to send the data submitted to Form #2 based on this documentation, but I am unsure how to remove options as the user selects them in the radio buttons.
Alternatively, I could send the choices from Form #1 directly to the radio field in Form #2, and then use this method to remove any options already selected in the radio field.
Would love to hear what others think about this. I'm on a tight deadline and would appreciate any insight anyone has to offer. Thanks!!
Please login or Register to submit your answer
Does this require a logged in user or is it open to anyone who fills out the form from a public page? Will the user filling out the form be able to submit more than one entry?
It does not require the user to be logged in, but we can definitely make that required if it helps. We are open to the user being able to submit more than one entry but it is not required.
This is going to take some custom code applied to a version of this -> https://formidableforms.com/knowledgebase/frm_setup_new_fields_vars/#kb-replace-field-options
You're going to have to get all of the values selected in form one, specific to the entry ID (or via the hidden field in form 2), and then dynamically populate the values inside the next level form field from the array taken from the hidden field or database values of the "parent" field from the previous form.
That's the only way I can wrap my head around it currently.