Page 1 of 1

Preselect email form pull-down based on link?

Posted: Fri Jun 05, 2009 7:51 pm
by AlasdairGF
So I've got a pretty standard contact form at www.stonewaterzen.org/index.php/contact-us.  Unsurprisingly, the default value for the recipient pull-down list is "Select one" - I think it's form builder's 'default default' if you see what I mean. 

I'd like, though, to be able to have a different recipient selected as the default based on the link that they've clicked.  So if they click the "Email me" link from the teacher's page, the teacher's name is preselected (and I don't get the general enquiries spam).

Is there any way of doing this?

Cheers

(Using CMSMS 1.5.2, formbuilder 0.5.11)

Re: Preselect email form pull-down based on link?

Posted: Sat Jun 06, 2009 8:39 am
by plger
You should look at the FormBuilder help, section titled "Passing Default Values to Forms".