Tag: PHP

  • Contact Form 7 Default Select Value using URL Query Variable

    In a previous post I described how to use URL parameters to auto populate input fields in a form on a WordPress site using the Contact Form 7 plugin. One of the comments I received asked whether the same technique can be used to set the default value of a CF7 select field. Here is…

  • Auto Populate Contact Form 7 Input Fields with URL Parameter

    I’ve just finished a WordPress development project which required fields in contact forms to be auto-populated with values based on the page from which the form page was called. In this case I was using the Contact Form 7 plugin. It’s fairly simple to set default input field values with Contact Form 7 but assigning…