Title: Form returns empty value
Last modified: November 2, 2022

---

# Form returns empty value

 *  [Rik](https://wordpress.org/support/users/rikdol/)
 * (@rikdol)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/)
 * For some reason the form stopped processing the select dropdown values. Whichever
   option is chosen, the value remains empty in the email subject
 * This is the form data:
 *     ```
       <label><b>Categorie:</b></label>
       [select selectedsubject default:1 "Algemeen" "Poorten" "Hekwerk" "Maatwerk" "Schuifpoorten" "Automatisering" "Looppoorten" "Aanbiedingen" "Industrieel" "Staafmatten" "Wandsteunen" "Tuindecoratie"]
       ```
   
 * this is what’s set in the mail tab:
    `[_site_title] TAV [selected-region]: [your-
   subject], [selectedsubject]`
 * to add to this it may be important to mention:
    -  when submitting the form it doesn’t matter if i ‘touched’ any of the options.
      this happens without me actually clicking something in the select box, and
      happens also when i keep it on default 1
 *  -  If i fill in the text field, the subject field is filled, but only with data
      i filled in under [your-subject]
 * Flamingo (3rd party) has the field “selectedsubject” properly set, and contains
   a value, but is sent through email containing nothing.
    -  This topic was modified 3 years, 6 months ago by [Rik](https://wordpress.org/support/users/rikdol/).
    -  This topic was modified 3 years, 6 months ago by [Rik](https://wordpress.org/support/users/rikdol/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fform-returns-empty-value%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Rik](https://wordpress.org/support/users/rikdol/)
 * (@rikdol)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16156602)
 * to add to this it may be important to mention.
 * when submitting the form it doesn’t matter if i ‘touched’ any of the options.
   this happens without me actually clicking something in the select box, and happens
   also when i keep it on default 1
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16159057)
 * What other plugins and theme do you use on the site?
 *  Thread Starter [Rik](https://wordpress.org/support/users/rikdol/)
 * (@rikdol)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16160696)
 * Several, listed below.
 * to point out, the subject ‘field’, when filled, is getting sent. it’s only the‘
   select’ that doesn’t.
 * Theme:
    Generatepress Plugins : Wordfence, WP Fastest Cache, Rank math, Code 
   snippets, Contactform 7, Flamingo, Lightweight Social Icons, Generateblocks (
   Generatepress), Simple Google reCAPTCHA, Smart Slider 3, Elementor (pro), Rank
   Math SEO, WP Mail SMTP
 * Thanks for helping out
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16163318)
 * Try switching to the default theme, deactivating all plugins excluding Contact
   Form 7, Wordfence and Flamingo, and clearing all cache data.
 * [Why you are advised to deactivate plugins and switch to the default theme.](https://contactform7.com/2019/12/02/why-you-are-advised-to-deactivate-plugins-and-switch-to-the-default-theme/)
 *  Thread Starter [Rik](https://wordpress.org/support/users/rikdol/)
 * (@rikdol)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16166489)
 * That seems like an awful lot to shutdown on a live site, for one field that doesn’t
   get its value sent.
 * I will first check what information is inside the array upon the mailsent event.
   Because when I add any field there’s no problem, until it’s a select field.
 * Don’t get me wrong, I read your reference, but can’t pull the site offline atm.
 * I will report back if it doesn’t work, or when I disabled the theme and plug-
   ins.
 *  [Ian Sackofwits](https://wordpress.org/support/users/plantprogrammer/)
 * (@plantprogrammer)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16176498)
 * Hey, rikdol, you can create a staging site, which is a copy or duplicate version
   of your live site, so you can test out things – deactivating plugins – before
   implementing it on your live site.
 * To do this, you would make an export of your live site, using a plugin such as
   Duplicator, and then import the exported file into software, such as Local By
   Flywheel where you can then run a staging version of your site.
 * Some web hosting services also offer staging versions of your live site.
 * Alternatively, you can use the Health Check plugin and temporarily turn off plugins
   as well as switch your current theme.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Form returns empty value’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Ian Sackofwits](https://wordpress.org/support/users/plantprogrammer/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/form-returns-empty-value/#post-16176498)
 * Status: not resolved