I have made a multi-page (3 page) registration form.
Brief description of form:
Page 1 - Personal Info - Includes some standard inputs + Marital Status and # of Children (drop downs).
Page 2 - Additional Info - Custom PHP code reads values of drop downs from Page 1 and outputs additional inputs based on values. This has been tested and is working correctly.
Page 3 - Group Placement Info - A few more standard inputs and submit button.
The issue I am having is that the input values from the output by my PHP code on Page 2 is not being saved to the Data Array. Essentially the user values entered are MIA.
I am guessing this issue is caused by the fact these specific inputs are not part of the form, but rather conditionally output by the PHP. I attempted adjusting the 'Render_HTML' event action from FIle to Post, as I do not require any file uploads. Next I attempted to set the inputs values to $form->data['FIELD_ID'] with another 'Custom Code' event action. This was unsuccessful. The $form->data variable is declared as expected but the value is empty.
How can retrieve the value from my PHP inputs?
I will continue to work on this and update the post should I solve the issue. If you require additional information to help troubleshoot, just let me know.
Brief description of form:
Page 1 - Personal Info - Includes some standard inputs + Marital Status and # of Children (drop downs).
Page 2 - Additional Info - Custom PHP code reads values of drop downs from Page 1 and outputs additional inputs based on values. This has been tested and is working correctly.
Page 3 - Group Placement Info - A few more standard inputs and submit button.
The issue I am having is that the input values from the output by my PHP code on Page 2 is not being saved to the Data Array. Essentially the user values entered are MIA.
I am guessing this issue is caused by the fact these specific inputs are not part of the form, but rather conditionally output by the PHP. I attempted adjusting the 'Render_HTML' event action from FIle to Post, as I do not require any file uploads. Next I attempted to set the inputs values to $form->data['FIELD_ID'] with another 'Custom Code' event action. This was unsuccessful. The $form->data variable is declared as expected but the value is empty.
How can retrieve the value from my PHP inputs?
I will continue to work on this and update the post should I solve the issue. If you require additional information to help troubleshoot, just let me know.