Contact Form 7
preselect dropdown based on URL variable (1 post)

  1. markgt
    Posted 5 years ago #

    Is there any way to pre-select a dropdown (or pre-populate a textfield) from a variable sent via the URL

    eg: mysite/contact-form-page/?var=somevalue2

    when the form page loads, "somevalue2" is already selected in the dropdown

    can anybody help please??

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic