Jump to content

Automatically Select the Subject Heading on Contact Form


Recommended Posts

I would like to be able to pre-select the subject heading on the contact form by passing the "id_contact" value through the URL querystring, e.g. "http://mysite.com/contact-us?id_contact=2" would automatically select the "Customer Service" subject heading when the form loads.

 

I have looked at the contact-form.tpl file and have found the line where the SELECT is built - this alreay has a check to see iff the post has been submitted to pre-select the heading. I need to extend this section to also look at the URL parameter.

Link to comment
Share on other sites

×
×
  • Create New...