FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi page form not going to the next page after validation?
#1
Exclamation 
Created a form with 6 pages. Validation on all pages. First page validates perfectly, but will not go to the next page - it simply returns to the same page without any information in the fields. Back button shows same page again with the data that was submitted.

Code looks like this:

<?php
require_once("../../leadgen09/global/api/api.php");
$fields = ft_api_init_form_page("", "test");
$params = array(
"submit_button" => "Volgende",
"next_page" => "page3.php",
"form_data" => $_POST
);
ft_api_process_form($params);
?>

<html>
<head>
<title>Breinlyn :: Aansoekvorms 2010 Gr. 1 - 7</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script type="text/javascript" src="rsv.js"></script>
<script type="text/javascript">
<!--
var rules = new Array(); // stores the validation rules
rsv.displayType = "display-html";
rsv.errorTextIntro= "Maak asseblief die volgende fout(e) reg en dien weer in:";
rsv.errorFieldClass = "errorFieldDemo5";
rsv.errorHTMLItemBullet = "— ";

var rules = [];
rules.push("required,ouernaam,Verskaf asseblief u volle name.");
rules.push("required,ouervan,Verskaf asseblief u van.");
rules.push("required,ouer_id,Verskaf asseblief u ID nommer.");
rules.push("required,ouer_straatadres,Verskaf asseblief u straatadres.");
rules.push("required,ouer_stad,Verskaf asseblief die naam van die stad waarin u woonagtig is.");
rules.push("required,ouer_epos,Verskaf asseblief u eposadres");
rules.push("required,eksamen_sel,Verskaf asseblief die nommer van die selfoon wat u magtig om eksamenkodes te ontvang.");
rules.push("required,rek_pligtige_naam,Verskaf asseblief die volle name van die rekeningpligtige");
rules.push("required,rek_pligtige_van,Verskaf asseblief die van van die rekeningpligtige.");
rules.push("required,rek_pligtige_id,Verskaf asseblief die ID nommer van die rekeningpligtige.");
rules.push("required,rek_pligtige_straatadres,Verskaf asseblief die straatadres van die rekeningpligtige.");
rules.push("required,rek_pligtige_stad,Verskaf asseblief die die naam van die stad waarin die rekeningpligtige woonagtig is.");
rules.push("required,rek_pligtige_epos,Verskaf asseblief die eposadres van die rekeningpligtige.");
rules.push("required,rek_pligtige_sel1,Verskaf asseblief die selnommer van die rekeningpligtige.");
rules.push("required,leerder1_naam,Verskaf asseblief die volle name van die eerste leerder.");
rules.push("required,leerder1_graad,Verskaf asseblief die graad waarvoor die eerste leerder ingeskryf word.");
-->
</script>

<style type="text/css">
#rsvErrors {
display: none;
background-color: #ffffcc;
border: 1px solid red;
padding: 8px;
}
BODY, TD {
color: #000000;
font-size: 12px;
font-family: Arial;
vertical-align: top;
}
a {
text-decoration: none;
}
.s{
font-size: 10px;
}
<style type="text/css">
/* these are the various classes used to style the demo error fields */
.errorField {
background-color: #990000;
color: white;
}
.errorFieldDemo2 {
background-color: #ffffcc;
color: #990000;
}
.errorFieldDemo5 {
background-color: #ffffcc;
border: 1px solid #aa0000;
color: #aa0000;
}
.errorFieldDemo6 {
background-color: green;
color: #yellow;
}
</style>

</head>
<body>
<table width="780" border="0" align="center" cellpadding="1" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td><table width="778" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="top">
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST" onsubmit="return rsv.validate(this, rules)">
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
<td width="358"><img src="../../images/breinlyn_logo_350.jpg" width="350" height="114"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="780" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#CCCCCC">
<td height="1" colspan="2"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><font color="#003366" size="3" face="Arial, Helvetica, sans-serif"><strong>Inskrywingsvorm
2010: Breinlyn (Gr 1 - 7)</strong></font></td>
</tr>
</table></td>
<td width="350"> <table width="312" border="0" cellspacing="0" cellpadding="1">
<tr bgcolor="#669900">
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFF00"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">1</font></div></td>
</tr>
</table></td>
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">2</font></div></td>
</tr>
</table></td>
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFF00"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">3</font></div></td>
</tr>
</table></td>
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFF00"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">4</font></div></td>
</tr>
</table></td>
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFF00"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">5</font></div></td>
</tr>
</table></td>
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFF00"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">6</font></div></td>
</tr>
</table></td>
<td width="50"><table width="75%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFF00"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">7</font></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#CCCCCC">
<td height="1" colspan="2"></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td colspan="3"><div id="rsvErrors"></div></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="27%"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Waar
het u gehoor van Breinlyn?</font></td>
<td width="19%"><select name="waar_gehoor" size="1" id="waar_gehoor">
<option>Huisgenoot</option>
<option>Rapport</option>
<option>Kennisse</option>
<option>Google</option>
<option>Ander</option>
<option selected>Selekteer</option>
</select></td>
<td width="29%"><div align="right"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Bestaande
kli&euml;ntenommer</font>: </div></td>
<td width="25%"><input name="bestaande_klientenommer" type="text" id="bestaande_klientenommer"></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="1" colspan="2"></td>
</tr>
<tr>
<td height="2" colspan="2"></td>
</tr>
<tr>
<td valign="top" bgcolor="#F0F0F0"><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif">
<p><font color="#003366" size="3"><strong>Afdeling
A - Ouer/Voog</strong></font></p>
</font></font></td>
</tr>
<tr>
<td height="2" colspan="2"></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="1" colspan="2"></td>
</tr>
<tr>
<td valign="top"><table width="90%" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td colspan="3" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><strong>Verskaf
die besonderhede van die ouer/voog
waar die leerder(s) woonagtig is:</strong></font></div></td>
</tr>
</table></td>
</tr>
<tr>
<td width="49%" valign="top" bgcolor="#FBFBFB"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#E5E5E5"><table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td height="306" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="40%"><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Naam:&nbsp;
</font></em></div></td>
<td width="60%"><input name="ouernaam" type="text" id="ouernaam"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Van:&nbsp;
</font></em></div></td>
<td><input name="ouervan" type="text" id="ouervan"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">ID
nommer:&nbsp; </font></em></div></td>
<td><input name="ouer_id" type="text" id="ouer_id"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Posadres:&nbsp;
</font></em></div></td>
<td><textarea name="posadres" id="posadres"></textarea></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Straatadres:&nbsp;
</font></em></div></td>
<td><input name="ouer_straatadres" type="text" id="ouer_straatadres"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Stad/dorp:&nbsp;
</font></em></div></td>
<td><input name="ouer_stad" type="text" id="ouer_stad"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Provinsie:&nbsp;
</font></em></div></td>
<td><select name="ouer_provinsie" size="1" id="select">
<option selected>Selekteer</option>
<option>Gauteng</option>
<option>Kwa-Zulu Natal</option>
<option>Limpopo</option>
<option>Noord-wes</option>
<option>Mphumalanga</option>
<option>Noord Kaap</option>
<option>Oostelike Provinsie</option>
<option>Vrystaat</option>
<option>Westelike Provinsie</option>
</select></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Naaste
Postnet:&nbsp; </font></em></div></td>
<td><input name="naaste_postnet" type="text" id="naaste_postnet"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">E-pos
adres:&nbsp; </font></em></div></td>
<td><input name="ouer_epos" type="text" id="ouer_epos2"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1%" valign="top">&nbsp;</td>
<td width="49%" valign="top" bgcolor="#FBFBFB"><table width="100%" height="276" border="0" cellpadding="1" cellspacing="0">
<tr>
<td bgcolor="#E5E5E5"><table width="100%" height="280" border="0" cellpadding="10" cellspacing="0">
<tr>
<td height="306" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="56%"><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Telefoon
(Huis):&nbsp; </font></em></div></td>
<td width="44%"><input name="tel_huis" type="text" id="tel_huis2"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Telefoon
(Werk):&nbsp; </font></em></div></td>
<td><input name="tel_werk" type="text" id="tel_werk2"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Sel
1 (Moeder):&nbsp; </font></em></div></td>
<td><input name="moeder_sel" type="text" id="moeder_sel2"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Sel
2 (Vader):&nbsp; </font></em></div></td>
<td><input name="vader_sel" type="text" id="vader_sel2"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Faks:&nbsp;
</font></em></div></td>
<td><input name="faks" type="text" id="faks2"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Selfoon
wat u magtig om eksamenkodes
te ontvang</font></em></div></td>
<td><input name="eksamen_sel" type="text" id="eksamen_sel2"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Het
u toegang tot die Internet?</font></em></div></td>
<td><div align="right">
<select name="internet_toegang" size="1" id="select2">
<option selected>Selekteer</option>
<option>Ja</option>
<option>Nee</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><em>Ek
het geen objeksie daarteen
om ‘n lid te wees
van Pestalozzi Trust nie.
</em></font></div></td>
<td><div align="right">
<select name="lid_pestalozzi" size="1" id="select3">
<option selected>Selekteer</option>
<option>Ja</option>
<option>Nee</option>
</select>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" valign="top"></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#CCCCCC">
<td height="1" colspan="3"></td>
</tr>
<tr>
<td height="2" colspan="3"></td>
</tr>
<tr>
<td width="50%" valign="top" bgcolor="#F0F0F0"><div align="justify"><font color="#003366" size="3" face="Arial, Helvetica, sans-serif"><strong>Afdeling
B: Rekeningpligtige</strong></font></div></td>
<td valign="top" bgcolor="#F0F0F0"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10%"><input name="afd_b_selfde_afd_a" type="checkbox" id="afd_b_selfde_afd_a" value="Selfde as Afdeling A"></td>
<td width="90%"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Selekteer
indien dieselfde as in Afdeling A</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="2" colspan="3"></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="1" colspan="3"></td>
</tr>
<tr>
<td colspan="2" valign="top"><div align="center">
<table width="90%" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td colspan="3" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><strong>Verskaf
hier die besonderhede van die persoon
wat verantwoordelik is vir die betaling
van die rekening.</strong></font></div></td>
</tr>
</table></td>
</tr>
<tr>
<td width="49%" valign="top" bgcolor="#FBFBFB"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#E5E5E5"><table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td height="270" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="40%"><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Naam:&nbsp;
</font></em></div></td>
<td width="60%"><input name="rek_pligtige_naam" type="text" id="rek_pligtige_naam"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Van:&nbsp;
</font></em></div></td>
<td><input name="rek_pligtige_van" type="text" id="rek_pligtige_van"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">ID
nommer:&nbsp; </font></em></div></td>
<td><input name="rek_pligtige_id" type="text" id="rek_pligtige_id"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Posadres:&nbsp;
</font></em></div></td>
<td><textarea name="rek_pligtige_pos_adres" id="rek_pligtige_pos_adres"></textarea></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Straatadres:&nbsp;
</font></em></div></td>
<td><input name="rek_pligtige_straatadres" type="text" id="rek_pligtige_straatadres"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Stad/dorp:&nbsp;
</font></em></div></td>
<td><input name="rek_pligtige_stad" type="text" id="rek_pligtige_stad"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Provinsie:&nbsp;
</font></em></div></td>
<td><select name="rek_pligtige_provinsie" size="1" id="select4">
<option selected>Selekteer</option>
<option>Gauteng</option>
<option>Kwa-Zulu Natal</option>
<option>Limpopo</option>
<option>Noord-wes</option>
<option>Mphumalanga</option>
<option>Noord Kaap</option>
<option>Oostelike
Provinsie</option>
<option>Vrystaat</option>
<option>Westelike
Provinsie</option>
</select></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1%" valign="top">&nbsp;</td>
<td width="49%" valign="top" bgcolor="#FBFBFB"><table width="100%" height="270" border="0" cellpadding="1" cellspacing="0">
<tr>
<td bgcolor="#E5E5E5"><table width="100%" border="0" cellpadding="10" cellspacing="0">
<tr>
<td height="270" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Naaste
Postnet:&nbsp; </font></em></div></td>
<td><input name="rek_pligtige_naaste_postnet" type="text" id="rek_pligtige_naaste_postnet"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">E-pos
adres:&nbsp; </font></em></div></td>
<td><input name="rek_pligtige_epos" type="text" id="ouer_epos3"></td>
</tr>
<tr>
<td width="56%"><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Telefoon
(Huis):&nbsp; </font></em></div></td>
<td width="44%"><input name="rek_pligtige_tel_huis" type="text" id="tel_huis3"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Telefoon
(Werk):&nbsp; </font></em></div></td>
<td><input name="rek_pligtige_tel_werk" type="text" id="tel_werk3"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Sel
1:&nbsp; </font></em></div></td>
<td><input name="rek_pligtige_sel1" type="text" id="moeder_sel3"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Sel
2:&nbsp; </font></em></div></td>
<td><input name="rek_pligtige_vader_sel" type="text" id="vader_sel3"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Faks:&nbsp;
</font></em></div></td>
<td><input name="rek_pligtige_faks" type="text" id="faks3"></td>
</tr>
<tr>
<td><div align="right"><em><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Het
u toegang tot die Internet?</font></em></div></td>
<td><div align="right">
<select name="rek_pligtige_toegang_internet" size="1" id="select5">
<option selected>Selekteer</option>
<option>Ja</option>
<option>Nee</option>
</select>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="10" colspan="2" valign="top"></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="1" colspan="3"></td>
</tr>
<tr>
<td height="2" colspan="3"></td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor="#F0F0F0"><div align="justify"><font color="#003366" size="3" face="Arial, Helvetica, sans-serif"><strong>Afdeling
C: Opsomming van Leerders</strong></font></div></td>
</tr>
<tr>
<td height="2" colspan="3"></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="1" colspan="3"></td>
</tr>
<tr>
<td colspan="2" valign="top"> </td>
</tr>
<tr>
<td colspan="2" valign="top"><div align="center">
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><strong>Verskaf
hier die name van die leerders wat
u by Breinlyn wil inskryf. </strong></font></div></td>
</tr>
</table></td>
</tr>
<tr>
<td width="55%" valign="top" bgcolor="#FBFBFB"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#E5E5E5"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="7%"><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">#</font></div></td>
<td width="75%"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Leerder
se naam</font></td>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Graad</font></div></td>
</tr>
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">1.</font></div></td>
<td><input name="leerder1_naam" type="text" id="leerder1_naam" size="35"></td>
<td width="18%"><div align="center">
<input name="leerder1_graad" type="text" id="leerder1_graad" size="5" maxlength="2">
</div></td>
</tr>
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">2.</font></div></td>
<td><input name="leerder2_naam" type="text" id="leerder2_naam" size="35"></td>
<td><div align="center">
<input name="leerder2_graad" type="text" id="leerder2_graad" size="5" maxlength="2">
</div></td>
</tr>
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">3.</font></div></td>
<td><input name="leerder3_naam" type="text" id="leerder3_naam" size="35"></td>
<td><div align="center">
<input name="leerder3_graad" type="text" id="leerder3_graad" size="5" maxlength="2">
</div></td>
</tr>
<tr>
<td><div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">4.</font></div></td>
<td><input name="leerder4_naam" type="text" id="leerder4_naam" size="35"></td>
<td><div align="center">
<input name="leerder4_graad" type="text" id="leerder4_graad" size="5" maxlength="2">
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="55%" valign="top" bgcolor="#FBFBFB"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="top" bgcolor="#E5E5E5"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><div align="center"></div>
<font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Notas</font></td>
<td width="18%"></td>
</tr>
<tr valign="top">
<td height="136" colspan="2"><textarea name="inskryf_notas" cols="35" rows="6" id="inskryf_notas"></textarea></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><div align="center">
<input name="submit2" type="submit" id="Submit2" value="Volgende">

</div></td>
</tr>
<tr>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td valign="top"><div align="center"><font color="#003366" size="1" face="Arial, Helvetica, sans-serif"><strong>Kopiereg
@ Breinlyn Leerw&ecirc;reld 2009 - Alle regte voorbehou</strong></font></div></td>
</tr>
</table></form></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
------------------------------------------------------------------
This is very urgent - can anyone please help/suggest where to look for any problems?
Reply
#2
Oops - just at work! Must be brief.

Change this:
Code:
<input name="submit2" type="submit" id="Submit2" value="Volgende">

to this:
Code:
<input name="submit2" type="submit" id="Submit2" name="Volgende" value="Volgende">

:-)

- Ben
Reply
#3
Oh sorry - and drop the first name attribute. It should be:
Code:
<input type="submit" id="Submit2" name="Volgende" value="Volgende">
Reply
#4
Hi Ben,

Thanks for the help - did that and got everything to work fine on the test domain (searchzone.co.za). Changed only the path to the api.php file and uploaded all the files to the domain where the forms should be - now I get the following errors:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/braincom/public_html/appcentre/gr1-9_afr/gr1-7_afr/page2.php:3) in /home/braincom/public_html/forms/global/api/api.php on line 1555

Warning: Cannot modify header information - headers already sent by (output started at /home/braincom/public_html/appcentre/gr1-9_afr/gr1-7_afr/page2.php:3) in /home/braincom/public_html/forms/global/api/api.php on line 1556

Warning: Cannot modify header information - headers already sent by (output started at /home/braincom/public_html/appcentre/gr1-9_afr/gr1-7_afr/page2.php:3) in /home/braincom/public_html/forms/global/api/api.php on line 1557

This is shown when the first page of the form is loaded
(here: http://www.brainline.com/appcentre/gr1-9.../page2.php)

Validation is not working either - and I only changed the path to the api.php file???

Please - your knowledge and wisdom is much appreciated in this urgent matter!!!
Hi Ben - got it sorted out - thanks anyway for all the help - your support and patience is great!!
Great script also!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)