How? Multiple Forms on one php page...
Hi Guys,
I have a new site for a client using your CFS Pack. I have a forms.php page for them that uses TABBED divs to provide 3 different forms for visitors to use - one for general contact, one for Contact Lens orders and one to book appointment requests... At least that is what they will provide once I can get the 3 "standard" contact forms working together on one physical page...
I have made 3 lots of the header code with altered field names, altered the corresponding field names in each form and altered the var widget generators to match after each form section in each div...
The site is forms.php if you'd be so kind as to have a look.
I have not changed the
I have also modified the WAUE_Contact_1.php with the code...
case "Email_address":
$MailFrom = "".((isset($_POST["Email_address"]))?$_POST["Email_address"]:"") ."";
break;
case "Email_address_Lens":
$MailFrom = "".((isset($_POST["Email_address_Lens"]))?$_POST["Email_address_Lens"]:"") ."";
break;
case "Email_address_App":
$MailFrom = "".((isset($_POST["Email_address_App"]))?$_POST["Email_address_App"]:"") ."";
break;
to try and get the correct email value for the corresponding div form so that the mail is processed using the selected form's information...
The forms.php page shows all the error state spans at the outset so something is not validating server side before a form field is even selected to be filled in.
Any help would be greatly appreciated!!
I thought you'd like a nice curly question to sink your teeth into :8^)
Thanks in advance,
Philip