Page 1 of 1

php email form problem help!!

Posted: Thu May 03, 2012 11:33 pm
by barnettj7
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

Re: php email form problem help!!

Posted: Fri May 04, 2012 6:48 pm
by Robert07
It's a little difficult to picture it without any code listed, but it sounds like you could either use javascript to populate your form divs (like element.innerHTML="new html here") or use a lightbox or something with an iframe and then you're context is a whole new page (you could pass params in the url in that case, or in the parameter settings of the lightbox).