Forums

multi-page showing session posted data

cesarscav 27 Jul, 2009
I'm Starting a new topic here because I canot send a reply on the one that I was posting on http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=9&t=14744
(the submit button do not show alt the end mabe my last post there was to wide )

hi Bob
thank you for XXXXX the pass I almost forgot that this was a public site
did you find something?
I was trying this in different server installation and in all gIve me the same results.
do you think it is a server issue?
I really need this to work, because I need to add an other step that will need the fields from form1 to process a payment.
is there something else that I can do to test this?

thanks
cesar
cesarscav 27 Jul, 2009
hi

Estrange things happen when you don't know what your doing 🙄

I delete the head code on form2

<?php

$session =& JFactory::getSession();
$posted = $session->get('chrono_formpages_data', array(), md5('chrono'));
echo '<div>$posted: '.print_r($posted, true).'</div>'; 
?>


and left only this


total: <?php echo $posted['grandtotal']; ?>


and the value that I was expecting appears

is this ok? or should I have to use the head code?

thank you very much for all your help
GreyHead 27 Jul, 2009
Hi Cesar,

No, if that's working then use it!!

I'll take a look at my multi-page form tomorrow morning and see if I did anything different there . . .

Bob
GreyHead 27 Jul, 2009
Hi Cesar,,

I posted a reply there (see below) and then found that I couldn#t submit it. I'll se if I can find some fix for that.

Bob

Hi ceasar,

That's encouraging. I did take a look this afternoon and couldn't sees that info in the Session :-)

Rushed now, I'll dig again tomorrow morning.

Bob

PS I installed EasySQL so that I could see the DB.

cesarscav 29 Jul, 2009
Hi bob
Thanks for your reply I'm using this like this
?php echo $posted['family_name'] ?>"
and it seams to be working fine.

Thank you very much for all your help.

ps sorry I did not see your reply before.

ps2 I open an other post http://www.chronoengine.com/forums.html?cont=posts&f=2&t=15368 regarding the integration of multipage and the paypal api do you know something about it?
Cesar
cesarscav 31 Jul, 2009
I have some extra question regarding this.

1- I enabled Steps navigation on my mother form I created a link on my child2 form like this <a href='index.php?option=com_chronocontact&chronoformname=mother&cfformstep=1'>back</a>
when I click in this link I get
Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/fortlaud/components/com_chronocontact/chronocontact.html.php(180) : eval()'d code on line 33


IT could have something to do with the way I'm retrieving the posted data?
I'm clueless here.

Here is my code from the form I'm trying to go back
<?php
$user =& JFactory::getUser();
$db =& JFactory::getDBO();
?>
<div class="form1cch">
<table width="100%" border="0" class="form1c">
  <tr>
    <th colspan="6" scope="row"> <h1 class="cf_text">ONLINE ENROLLMENT FORM</h1></th>
  </tr>
  <tr>
    <th scope="row"><div align="left"><span class="cf_text">Programs Selection</span></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label">
      <div align="left">Primary Program</div>
    </label></th>
    <td> </td>
    <td><select name="objectcat" size="1" id="objectcat" class="cf_inputbox validate-selection" onChange='change_subcat();'>
      <option value="">Please select</option>
      <!--Empty line for ChronoForm required error -->
      <?php //this code permit to use dynamic access to category list
         
      $query= "SELECT * FROM `jos_flstore_products` ;";
      $db->setQuery($query);
      $result = $db->loadRowList();
     
      foreach($result as $cle => $val):
        echo "<option value='".$val[0]."'>".stripslashes($val[1])."</option>";
      endforeach;
?>
    </select>	</td>
    <td><input type="hidden" name="labepr" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class='cf_label'>
      <div align="left">Number of Weeks</div>
    </label></th>
    <td> </td>
    <td><?php
         foreach($result as $cle =>$val):
            echo "<div id='".$val[0]."' class='select' style='display:none;'>";
?>
            <select id ='objectsubcat<?php echo $val[0]; ?>' class='cf_inputbox' name='objectsubcat<?php echo $val[0]; ?>' style='width:160px;' onChange="calculate();">
	<option value="">Please select</option>		
<?php
               $idcle = $cle + 1;
               $query= "
                 SELECT * FROM `jos_flstore_products_prices`
                   WHERE `productid`='$idcle' order by weeks ASC;";
               $db->setQuery($query);
               $subcat_result = $db->loadObjectList();
               foreach($subcat_result as $subcat_cle =>$subcat_val):         
                                   echo "<option value='".stripslashes($subcat_val->price)."'>".stripslashes($subcat_val->weeks)." weeks</option>";
               endforeach;
?>
            </select>
	</div>
	<?php
        endforeach;
	?></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_labeltotal" >
      <div align="left">Total Primary Program</div>
    </label></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td><input class='cf_inputbox'  title="" readonly="true" id="total33" name="total33" type="text" /><input type="hidden" name="labeprw" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> <label class="cf_label">
      <div align="left">Secondary Program (Optional)</div>
    </label></th>
    <td> </td>
    <td><select name="secondp" size="1" id="secondp" class="cf_inputbox validate-selection" onChange='change_subcat1();calculate();'>
         <option value="-1">Please select</option> <!--Empty line for ChronoForm required error -->
		 <option value="0">None</option>
<?php //this code permit to use dynamic access to category list
         
      $query= "SELECT * FROM `jos_flstore_products` ;";
      $db->setQuery($query);
      $result2 = $db->loadRowList();
     
      foreach($result2 as $cle2 => $val2):
        echo "<option value='a".$val2[0]."'>".stripslashes($val2[1])."</option>";
      endforeach;
?>
      </select></td>
    <td><input type="hidden" name="labesp" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label">
      <div align="left">Number of Weeks</div>
    </label></th>
    <td> </td>
    <td><?php
         foreach($result as $cle2 =>$val2):
            echo "<div id='a".$val2[0]."' class='select2' style='display:none;'>";
?>
            <select id ='weeks2a<?php echo $val2[0]; ?>' class='cf_inputbox' name='weeks2a<?php echo $val2[0]; ?>' style='width:160px;' onChange="calculate();">
			<option>0</option>
<?php
               $idcle2 = $cle2 + 1;
               $query= "
                 SELECT * FROM `jos_flstore_products_prices`
                   WHERE `productid`='$idcle2' order by weeks ASC;";
               $db->setQuery($query);
               $subcat_result2 = $db->loadObjectList();
               foreach($subcat_result2 as $subcat_cle2 =>$subcat_val2):         
                                   echo "<option value='".stripslashes($subcat_val2->price)."'>".stripslashes($subcat_val2->weeks)." weeks</option>";
               endforeach;
?>
            </select>
	</div>
	<?php
        endforeach;
	?></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total Secondary Program</div>
    </label></th>
    <td> </td>
    <td> </td>
    <td><input type="hidden" name="labespw" /></td>
    <td><input class='cf_inputbox' title="" readonly="true" id="total2" name="total2" type="text" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> <div align="left"><span class="cf_text">Optional Programs</span></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Private Lessons (English)</div>
    </label></th>
    <td> </td>
    <td><select name="optprogsel" size="1" id="optprogsel" class="cf_inputbox validate-selection" onChange="calculate();">
         <option value="">Please select</option> <!--Empty line for ChronoForm required error -->
		 <option value="0">None</option>
<?php //this code permit to use dynamic access to category list
         
      $query= "SELECT * FROM `jos_flstore_products_priv_les` WHERE `desc`=1 ;";
      $db->setQuery($query);
      $result = $db->loadRowList();
     
      foreach($result as $cle => $val):
        echo "<option value='".$val[2]."'>".stripslashes($val[1])."</option>";
      endforeach;
?>
    </select></td>
    <td><input type="hidden" name="labeopt1" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Private Lessons (Other Languages)</div>
    </label></th>
    <td> </td>
    <td><select name="optprogsel2" size="1" id="optprogsel2" class="cf_inputbox validate-selection" onChange="calculate();">
         <option value="">Please select</option> <!--Empty line for ChronoForm required error -->
		 <option value="0">None</option>
<?php //this code permit to use dynamic access to category list
         
      $query= "SELECT * FROM `jos_flstore_products_priv_les` WHERE `desc`=2 ;";
      $db->setQuery($query);
      $result = $db->loadRowList();
     
      foreach($result as $cle => $val):
        echo "<option value='".$val[2]."'>".stripslashes($val[1])."</option>";
      endforeach;
?>
    </select></td>
    <td><input type="hidden" name="labeopt2" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> <label class="cf_label" >
      <div align="left">College Admission Counseling</div>
    </label></th>
    <td> </td>
    <td><select class="cf_inputbox" id="colladmpr" size="1" title=""  name="colladmpr" onChange="calculate();">
   		<option value="">Please select</option>
     	<option value="0">None</option>
<option value="250">Short Seminar</option>
<option value="500">One-on-One</option>
<option value="6496">Full Admition Package</option>

    </select></td>
    <td><input type="hidden" name="labeopt3" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total Optional Programs</div>
    </label></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td><input class='cf_inputbox' title="" readonly="true" id="totalopt" name="totalopt" type="text" onChange="calculate();" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"><span class="cf_text">Accommodation</span></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Start Date</div>
    </label></th>
    <td> </td>
    <td><input class="cf_datetime cf_inputbox"  title="" size="20" id="date_0" name="date_0" type="text" onclick="javascript:setDifference(this.form);" /></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">End Date</div>
    </label></th>
    <td> </td>
    <td><input class="cf_datetime cf_inputbox" title="" size="20" id="date_1" name="date_1" type="text" onclick="javascript:setDifference(this.form);"/></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total # of nights</div>
    </label></th>
    <td> </td>
    <td><input class="cf_inputbox" title="" readonly="true" id="resultDate" name="resultDate" type="text" onChange="calculate();" /></td>
    <td> </td>
    <td><input value="Calculate" name="button_6" type="button" onclick="javascript:setDifference(this.form);"/></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Accommodation Type</div>
    </label></th>
    <td> </td>
    <td>		<select class="cf_inputbox" id="acommodationty" size="1" title=""  name="acommodationty" onChange="calculate();">
		<option value="">Please select</option>
		<option value="0">None</option>
		<option value="33">Homestay double (+breakfast)</option>
		<option value="41">Homestay double (+half-board)</option>
		<option value="38">Homestay single (+breakfast)</option>
		<option value="46">Homestay single (+half-board)</option>
		<option value="38">Hotel Metropolitan Double</option>
		<option value="44">Hotel Beach Front Double</option>
		<option value="66">Hotel Metropolitan Single</option>
		<option value="76">Hotel Beach Front Single</option>
		<option value="44">Aparment Double</option>
		<option value="80">Aparment Single</option>
		</select></td>
    <td><input type="hidden" name="labeacoom" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total Acomodation</div>
    </label></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td><input  class="cf_inputbox" readonly type="text" name="valuaccom" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"><span class="cf_text">Transportation</span></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Do you require airport transfer?</div>
    </label></th>
    <td> </td>
    <td><select class="cf_inputbox required" id="airportr" size="1" title=""  name="airportr" onChange="calculate();">
		<option value="">Please select</option>
		<option value="0">No</option>
		<option value="45">Airport Shuttle Shared ride (Fort Lauderdale, one way)</option>
		<option value="85">Airport Shuttle Shared ride (Fort Lauderdale, round trip)</option>
		<option value="80">Airport Shuttle Shared ride (Miami, one way)</option>
		<option value="135">Airport Shuttle Shared ride (Miami, roud trip)</option>
		</select></td>
    <td><input type="hidden" name="transf" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total Transportation </div>
    </label></th>
    <td> </td>
    <td><input  class="cf_inputbox" readonly type="text" name="valutransfer"></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"><span class="cf_text">Visa Information</span></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">What type of visa will you be applying for?</div>
    </label></th>
    <td> </td>
    <td>    <select class="cf_inputbox required" id="visa" size="1" title=""  name="visa" >
        <option value="">Please select</option>
		<option value="0">None</option>
        <option value="1">Student</option>
        <option value="2">Tourist/Visitor</option>
		<option value="3">Visa Waiver</option>
		<option value="4">Other</option>
   </select>   <input type="hidden" name="labevisa" /></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row">		<label class="cf_label" >
      <div align="left">Do you require documents to be sent via courier?</div>
    </label>      </th>
    <td> </td>
    <td><select class="cf_inputbox required" id="visadocs" size="1" title=""  name="visadocs" onchange="calculate();">
      <option value="">Please select</option>
      <option value="0">No</option>
      <option value="65">Yes $65</option>
    </select></td>
    <td><input type="hidden" name="docus" /></td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total </div>
    </label></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td><input  class='cf_inputbox' readonly type="text" name="valuvisadocs" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"><span class="cf_text">Health Insurance</span><span class="aclar"> (All students must have appropriate insurance and proof must be presented)</span></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row">		<label class="cf_label" >
      <div align="left">Do you require Health Insurance?</div>
    </label></th>
    <td> </td>
    <td><select class="cf_inputbox required" id="healthins" size="1" title=""  name="healthins" >
      <option value="">Please select</option>
      <option value="0">No</option>
      <option value="25">Yes $25 / week</option>
    </select></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Number of weeks required</div>
    </label></th>
    <td> </td>
    <td><select class="cf_inputbox required" id="weeksins" size="1" title=""  name="weeksins" onchange="calculate();">
      <option value="">Please select</option>
      <option value="0">No</option>
      <?php
			$i=0;
			do
			{
			$i++;
			echo "<option value=\"$i\">$i weeks</option>";
			}
			while ($i<=52);
			
			?>
    </select></td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Total </div>
    </label></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td><input  class='cf_inputbox' readonly type="text" name="valuhealth" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><label class="cf_label" >
      <div align="left">Grand Total</div>
    </label></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td><input class='cf_inputbox' align="right" title="" readonly="true" id="grandtotal" name="grandtotal" type="text" /></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><div align="left"></div></th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> </th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> </th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> </th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"><a href='index.php?option=com_chronocontact&chronoformname=mother&cfformstep=2'>NEXT>></a></div>;</th>
    <td> </td>
    <td><div align="right">
      <input class="form_element cf_button" value="Next" name="submit" type="submit" />
    </div></td>
    <td> </td>
    <td></td>
    <td> </td>
  </tr>
  <tr>
    <th scope="row"> </th>
    <td> </td>
    <td> </td>
    <td> </td>
    <td></td>
    <td> </td>
  </tr>
</table>

</div>



2-I try this with an other form and it works but the data I posted on the previous form was gone
How can I retrieve the data posted if I go back? My idea is to have a summary page where you can review the information before completing the transaction and in case that it needs to be corrected they can go back to that particular form to edit the information. is this possible?

3- this may be a re question I made in other post tested the multipage plug-in and the paypal plug with a sandbox account with world pay, in this test form an in my tentative production for is working ok but in case that some error happens in the transaction (wrong cc number or exp date) is not taking me to the last form I was using. It just show the error from paypal plug in but no form at all.

I appreciate any help.

Thanks in advance
cesar
cesarscav 05 Aug, 2009
Sorry to post this question again but I really need to find a solution to this

I'm building this multi-page form with paypal plugin.
I was able to create the form up to paypal. If the payment information is entered correctly every thing is fine, the problem arise when I have a credit card processing error (wrong number or any other error that the process may had) in this case the paypal plugin give me the error but in a blank page not in the last form I was completing.

Please I need some guide on how can I keep my user in the last form if a credit card error occurs.
the on submit code that I'm using is this:
onSubmit after email

<?php
$MyPlugins =& CFPlugins::getInstance($MyForm->formrow->id);

switch ($posted['radio11']) {
    case 1:
					   if(!$MyPlugins->cf_joomla_registration['errors']){
				  $MyPlugins->runPlugin('after_email', array('ONSUBMIT', 'ONLOADONSUBMIT'), 'cf_paypal_api');
				  if($MyPlugins->cf_paypal_api['payment_status'] == 'SUCCESS'){
					echo  "Your Enrollment is now compleate. the amount of u$".$posted['radio11']." as been aproved, You will be recieving a confirmation email shortly";
					$MyFormEmails =& CFEMails::getInstance($MyForm->formrow->id);
					$MyFormEmails->setEmailData(1, 'enabled', '1');
					$MyFormEmails->sendEmails($MyForm, $MyFormEmails->emails);
				  }else{
					$regUser = new JUser($MyPlugins->cf_joomla_registration['user']->id);
					$regUser->delete();
					$MyForm->addErrorMsg( 'An error occured : '.$MyPlugins->cf_paypal_api['error_message'] );
					$MyForm->haltFunction["autogenerated_after_email"] = true;
				  }
				}else{
				  $MyForm->addErrorMsg($MyPlugins->cf_joomla_registration['errors']);
				  $MyForm->haltFunction["autogenerated_after_email"] = true;
				}
        break;
    case 2:
					echo  "Your enrollment is not yet complete, remember that your balance of u$".$posted['amount']." is due 30 days before the start of classes. Please send your check by mail to:";
	   				$MyFormEmails =& CFEMails::getInstance($MyForm->formrow->id);
					$MyFormEmails->setEmailData(1, 'enabled', '1');
					$MyFormEmails->sendEmails($MyForm, $MyFormEmails->emails);
        break;
    case 3:
       echo  "Your enrollment is not yet complete, remember that your balance of u$".$posted['amount']." is due 30 days before the start of classes. Please send your Wire Transfer by mail to:";
	   				$MyFormEmails =& CFEMails::getInstance($MyForm->formrow->id);
					$MyFormEmails->setEmailData(1, 'enabled', '1');
					$MyFormEmails->sendEmails($MyForm, $MyFormEmails->emails);
        break;
}
?>



Also I purchase the license I can not activate it I send an email in the contact form and had no answer.


Thanks for your help
Cesar
Max_admin 12 Aug, 2009
Hi Cesar,

I sent you some fixes few days ago, did you have a chance to try them ? please let us know if it worked or not!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cesarscav 13 Aug, 2009
Max and GreyHead
I'm sorry for the delay, but I was busy with other parts of this project.
Yes I replace the original files with the ones that you send me and the same thing happens the paypal api error appears on a blank page.
manage to overcome this with a
<a>link</a>
to my previous page not very elegant but it works.

A similar problem is happening now with other part of the form when I try to go back from one page to an other
I get a blank page with no error messages and no options.
I'm troubleshooting this and figure out that the problem are the select boxes I use som PHP to populate them, some from DB others just a simple
do while

here is an example
<div class="form_item">
  <div class="form_element cf_dropdown">
	<label class="cf_label" >Number of weeks required</label>
<select class="cf_inputbox required" id="weeksins" size="1" title=""  name="weeksins" onChange="calculate();">
      <option value="">Please select</option>
      <option value="0">No</option>
      <?php
			$i=0;
			do
			{
			$i++;
			echo "<option value=\"$i\">$i weeks</option>";
			}
			while ($i<=52);
			
			?>
    </select>
	</div>
  <div class="cfclear"> </div>
</div>
<div class="form_item">
  <div class="form_element cf_button">
   <input class="form_element cf_button" value="Submit" name="nexxtt" type="submit" />
  </div>
  <div class="cfclear"> </div>
</div>


every time a go back to this form I get a blank page I'm using a links like this
<a href='index.php?option=com_chronocontact&chronoformname=back0&cfformstep=1'>back</a>
in the second form

step navigation is enable on the mother form and I have enabled try to republish on each child form.

Any idea?

thanks in advance

Cesar

PS

After the validation of the chronoform license the pay pal plug in still putting wrong amounts when submitting to paypal any thing I can do with this?
This topic is locked and no more replies can be posted.