I have a form on a php page, depending on what is selected on the previous page different fields are displayed in the form
Some fields are required and on the next php page it sends them back to the form if the required fields are empty.
But when it sends me back the only fields displayed are those not dependant on input from the previous page.
I have put the values from the previous page into my form using
<input type="hidden" name="variable" value="<? echo $variable ?>">
So they are transferred to the mailing page, so I can make the if empty string dependant on the same variables, how can I send them back to the form if required fields are left blank?