H Max,
To restart this thread base on the new V3.1 RC5.0 just released.
I having reasonable success with the multipage capability. Using the normal PHP $_POSt to recover information submitted in the previous form is working well. This is a really strong plugin and very useful.
What I am struggling with is the following use case;
After the final form in the multiform chain is submitted,the following code -exhibit#1 (which is located in the "submit after email" section) is used to cause the "system" to loop back to the "mother form" called regoholder in the code below. This is successful as the first form in the multipart chain then shown. so far so good. This loopback is needed as it is a multiperson rego form, but with a common rego number and the number must be common to all people being regsitered in that session (e.g. all members of one family have a common rego number)
The issue is that there are input values that are passed into the $_POST array for use in the first form of the "new" chain, that are lost when the mulitpage chain is executed. The required values are being setup correctly (see code below in exhibit#2) in the final form in the chain. (It may not be pretty code but it works 😑). Sadly, none of the values are passed back into the chain and onto the first form. Its like the "mother" form has no way of grabbing the $_POST values.
I have tried putting code into both the HTML section and the "after email section" to grab and subsequently reset the values I need but to no avail. I ahve also tried publishing the "mother" form and this has not effect.
Any thoughts on how to get around this?
BTW.
Terrific extension. Stable, predictable, and with heaps of features. An outstanding effort.
exhibit#1 submit after email code<?php
$action = JRequest::getString('rf4sBtn');
if (strcasecmp($action, 'Next') != 0) {
//Redirect to some other url...
$t =& JFactory::getApplication('site');
$t->initialise();
$t->redirect('index.php?option=com_chronocontact&chronoformname=regoholder');
}
?>
exhibit#2 - input value setup code <input type=hidden name="changedDetails" value=<?php echo $_POST["changedDetails"];?>>
<input type=hidden name="playerRegNum" value=<?php echo $_POST["playerRegNum"];?>>
<INPUT TYPE=HIDDEN NAME="playerRegNumCtr" value=<?php echo $_POST["playerRegNumCtr"];?>>