Using the post method.
The first form is processed by the second page.
the first form (excerpt only)
<form id="form1" name="form1" method="post" action="assessment_form_2.php"> <input type="text" name="first_name" id="first_name" />
in the second form i have used
<input type="hidden" name="first_name" value="<?php echo $_POST['first_name'];?>" />
The first page works and sends me on to the second form but when I check the source code the hidden field's value remains empty.
Is this not a valid way of transporting the information?

New Topic/Question
Reply




MultiQuote




|