So I have the session vraiable triggered before page load with the value of '1'. I have the first form in a show behaviour:
<?php
if ("".$_SESSION['formStep'] ."" == "1") { // WebAssist Show If
?>
....Form Markup
<?php
} // ("".$_SESSION['formStep'] ."" == "1")
?>
This works fine. So I then re-set the session when the form submits:
<?php
@session_start();
if(isset($_POST["submit_pcd"]) || isset($_POST["submit_pcd_x"])) {
$_SESSION["formStep"] = "2";
}
?>
But this doesn't seem to work. Is this wrong?
page attached!