close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How? Multiple Forms on one php page...

Thread began 11/09/2009 10:27 pm by philip229496 | Last modified 11/10/2009 2:16 pm by philip229496 | 4097 views | 3 replies

philip229496

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

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...