Transfering values to pages of muli-page form
-
We have a multi-page form with values that need to be repeated on several pages, to save answering the same question numerous times, this value is filled in using the data from the first page. This system was working well, but has not stopped working.
Here is an example of the code:
<?php if ($this->participant_values[‘application_type’] == ‘Single’){
// here is our code to set the value of single or joint applicant
if ( $this->field->name == ‘joint_application’ ) { // first identify the field we need to change
$this->field->value = ‘no’; // now set it’s default value, which is the field’s pre-set value
}} ?>
<?php if ($this->participant_values[‘application_type’] == ‘Joint’){
// here is our code to set the value of single or joint applicant
if ( $this->field->name == ‘joint_application’ ) { // first identify the field we need to change
$this->field->value = ‘yes’; // now set it’s default value, which is the field’s pre-set value
}} ?>
I can’t figure out why the check boxes are no longer being filled with the transferred information.
I am not completely sure when this happened, as we have lots of participant records and only noticed the problem when a new participant filled out a form.
I tried rolling back to version 1.7.9.5 but it didn’t fix the problem.
Do you have any idea what could be the problem and how I can fix it.
We do not want to go back to asking for example whether it is a joint application on each page, which reveals either questions for one or two applicants.
- The topic ‘Transfering values to pages of muli-page form’ is closed to new replies.