php email form problem help!!

hello, i am looking to see if anyone can give some advice on a php form problem.

I have a website that has a basic php email form.

The layout is such.

The user clicks on various radio buttons, once they have made their choices they click a preview button, this preview brings in a hidden div that display their input and then proceeds to ask for additional input.

The problem is it’s basically two forms and since you can’t imbed two forms I don’t know a way of passing the preview values which are just divs into the form for email submission.

can anyone tell me what i can do from here

Simple, just use ONE form. Like this…

This is the hidden stuff that appears when needed...
Rest of regular form is here...

So, you do not take the DIV and the hidden stuff out of the form. It still exists and is still POSTED to the next page as it should. No need for two forms, just a little thinking about the layout. You can have the hidden DIV above or below the rest. And, you could put the other items in a second DIV and HIDE that when the hidden one become visible.

Hope that helps!

Sponsor our Newsletter | Privacy Policy | Terms of Service