I've got 2 pages, the 1st with the formular fields and the second as a control page where the insert behaviour are located. Now I use the submit trigger (InfraparkReservation_submit) from the first page but it still doesn't accept submitting the form on the 2nd page:
if ((((isset($_POST["InfraparkReservation_submit"]))?$_POST["InfraparkReservation_submit"]:"") != "")) {
$WAFV_Redirect = "res_formular1.php?ERROR=8&Sitzungszimmer=".$_SESSION['sessSitzungszimmer']."&Datum=".$_SESSION['sessDatum']."&Dauer=".$_SESSION['sessDauer']."&Bestuhlung=".$_SESSION['sessBestuhlung']."&EventVon=".$_SESSION['sessEventVon']."&EventBis=".$_SESSION['sessEventBis']."";
$_SESSION['WAVT_resformular2_321_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateNM(((isset($_POST["EventVon"]))?$_POST["EventVon"]:"") . "",0,((isset($_POST["EventBis"]))?($_POST["EventBis"]-15):""),"",",.",true,5);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"resformular2_321");
}
}
The two submit buttons have the same name "InfraparkReservation_submit". Does that matter?