I can't get it to work to go to the second Page.
Is it also possible when you have a 10 page "Multi Page" to submit after page 5?
Page 2 to 10 will be all the same pages but not everybody needs the 9 "pages"
I make a little test and I copy email template of form1 into form2 so when form2 send the mail, include the whole information. So that fix the problem.
Parse error: syntax error, unexpected '-', expecting ',' or ';' in /home/server/public_html/components/com_chronocontact/chronocontact.php(53) : eval()'d code on line 32
on the top of my forms.activate the Email verification plugin: do I have to activate it only on the mother-form?
Probably, that will have it run at the end of the last form.set up 2 emails with the results: how could i get all the fields' values from the 4 steps of my module in one email?
If I remember correctly ChronoForms makes all the data available to you.create table(s): how could i make all the fields' values be written in a sole table? do I have to create tables for all the 'children' modules?
You can use a single table provided that it contains columns to match all of the inputs.you should turn on the multi page plugin in every form that you made
That could cause some problems, it only needs to be turned on for the mother form.You can use a single table provided that it contains columns to match all of the inputs.
<input type='hidden' name='step_name' id='step_name' value='<?php echo $MyForm->formrow->name; ?>' />
<?php
$cf_id =& JRequest::getString('cf_id', '', 'post');
if ( !$cf_id ) {
$last_step_name =& JRequest::getString('step_name', '', 'post');
if ( $last_step_name ) {
$formData =& CFChronoForm::getInstance($last_step_name);
$data =& $formData->tablerow['jos_assessments'];
$cf_id = $data->cf_id;
}
}
echo "<input type='hidden' name='cf_id' id='cf_id' value='".$cf_id."' />";
}
?>
<input type='hidden' name='step_name' id='step_name' value='<?php echo $MyForm->formrow->name; ?>' />
<?php
$cf_id =& JRequest::getString('cf_id', '', 'post');
if ( !$cf_id ) {
$last_step_name =& JRequest::getString('step_name', '', 'post');
if ( $last_step_name ) {
$formData =& CFChronoForm::getInstance($last_step_name);
$data =& $formData->tablerow['jos_assessments'];
$cf_id = $data->cf_id;
}
}
echo "<input type='hidden' name='cf_id' id='cf_id' value='".$cf_id."' />";
}
?>
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Highest Education Level Achieved to Date:</label>
<select class="cf_inputbox validate-selection" id="nominee_education" size="1" title="Please select your highest level of education achieved." name="nominee_education">
<option value="">Choose level of education Achieved</option>
<option value="School Certificate">School Certificate</option>
<option value="Higher School Certificate">Higher School Certificate</option>
<option value="Tafe Certificate">Tafe Certificate</option>
<option value="Bachelors Degree">Bachelors Degree</option>
<option value="Bachelors Degree (Hons.)">Bachelors Degree (Hons.)</option>
<option value="Post Graduate Studies">Post Graduate Studies</option>
<option value="Doctorate">Doctorate</option>
</select>
</div>
<div class="cfclear">Â </div>
</div>
<div class="form_item">
<div class="form_element cf_textarea">
<label class="cf_label" style="width: 150px;">Details:<br/>
<span id='counter'>1000</span> remaining.</label>
<textarea class="cf_inputbox required" rows="5" id="nominee_details" title="Please insert a record of your highest educational achievement." cols="80" name="nominee_details"></textarea>
</div>
<div class="cfclear">Â </div>
</div>
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" style="width: 150px;">Upload Portrait of Nominee</label>
<input class="cf_fileinput cf_inputbox required" title="Please upload a portrait/image of the nominee" size="20" id="nominee_portrait" name="nominee_portrait" type="file" />
</div>
<div class="cfclear">Â </div>
</div>
<div class="form_item">
<div class="form_element cf_button">
<input value="Submit" name="button_education" type="submit" />
</div>
<div class="cfclear">Â </div>
</div>