Forums

Insert checkbox values from 1st form into 2nd Contact Form

bkmacdaddy 26 Nov, 2008
Hello,

I have a simple checkbox list of 8 values that I would like the visitor to be able to check their selections, click the submit button, and be forwarded to the contact page with the contact form already populated with their selections. Is this possible?

In essence, on the Joomla home page they would choose some selections that they want more info on, then click the button, resulting in them arriving at the contact form with the message field already saying

"Please send me more info on the following:
[list]selection 1
selection 2
selection 3[/list]"

Then they would input their name and email address and send the ChronContact form on.

I am a novice at PHP but imagine this could be done rather simply, if only i knew how.

Anyone? Thanks in advance.
GreyHead 26 Nov, 2008
HI bkmacdaddy,

Yes you do this, either with two linked forms, or with a single form that uses an if . . . else control to show different html on the second viewing. I think that there are at least a couple of examples in the forums here.

Bob
This topic is locked and no more replies can be posted.