Title: Empty value causes error
Last modified: September 7, 2021

---

# Empty value causes error

 *  Resolved [wireofhope](https://wordpress.org/support/users/wireofhope/)
 * (@wireofhope)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/)
 * Good morning,
 * I noticed an error with dropdown menus preselected answers. For example, I had
   a dropdown menu with the answers “Yes” and “No” and “No” was preselected by default.
 * Since the last update of the plugin, now when I leave it on “No” and try to submit
   the form, it says there is an error and an answer needs to be selected (even 
   if “No” is actually selected and was preselected like I said).
 * Could you please help?
 * Thanks!
 * EDIT- Please see message below, problem does not come from preselected option.
    -  This topic was modified 4 years, 8 months ago by [wireofhope](https://wordpress.org/support/users/wireofhope/).
    -  This topic was modified 4 years, 8 months ago by [wireofhope](https://wordpress.org/support/users/wireofhope/).

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

 *  Thread Starter [wireofhope](https://wordpress.org/support/users/wireofhope/)
 * (@wireofhope)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/#post-14848159)
 * My bad, I just realized it has nothing to do with the preselected option. The
   problem comes from my options, that both have an empty value. I need the empty
   value to work for my confirmation email, yet when my option has an empty value,
   the form shows an error. Please help! 🙂
 * P.S. I guess it’s also probably related to the fact that no special characters
   can no longer be inserted in the values.
    -  This reply was modified 4 years, 8 months ago by [wireofhope](https://wordpress.org/support/users/wireofhope/).
    -  This reply was modified 4 years, 8 months ago by [wireofhope](https://wordpress.org/support/users/wireofhope/).
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/#post-14848186)
 * Hello [@wireofhope](https://wordpress.org/support/users/wireofhope/) !
 * Hope you’re having a good day and apologies for the inconvenience caused by the
   issue!
 * I tried to replicate this on my test site, with one of the options set to be 
   preselected, however in my case the issue wasn’t there – even when leaving the
   field as is, the form submitted successfully.
 * Would you be able to share your form with us so we can test it further? Here’s
   how to share it using our contact form:
 * [https://premium.wpmudev.org/contact/#i-have-a-different-question](https://premium.wpmudev.org/contact/#i-have-a-different-question)
   and the template below:
 * NOTE: Don’t change selected topic in the dropdown, just leave it at “I have a
   different question”.
 * Subject: “**Attn: Pawel**”
    – Site URL – The form export as attachment or a link
   to the export file on Google Drive, Dropbox etc. – Link back to this thread for
   reference – Any other relevant urls/info
 * Kind regards,
    Pawel
 *  Thread Starter [wireofhope](https://wordpress.org/support/users/wireofhope/)
 * (@wireofhope)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/#post-14848202)
 * Thanks for looking into it, but as I said in my previous message, this has actually
   nothing to do with the preselected option.
 * Since the update, I cannot insert any special characters in my value fields, 
   and leaving it empty is what’s causing the error. I don’t know what to do right
   now I need a quick fix, can I go back to the previous version of the plugin?
 * Thank you.
 * P.S. Even capital letters are not accepted in my value fields right now :'(
    -  This reply was modified 4 years, 8 months ago by [wireofhope](https://wordpress.org/support/users/wireofhope/).
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/#post-14850112)
 * Hi [@wireofhope](https://wordpress.org/support/users/wireofhope/),
 * We have responded to your email, please check your inbox and we can continue 
   the discussion there.
 * Cheers,
    Predrag
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/#post-15021726)
 * Hello [@wireofhope](https://wordpress.org/support/users/wireofhope/) ,
 * I checked the status of this issue and it was fixed in 1.15.3 – please update
   the plugin to the latest version.
 * kind regards,
    Kasia

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

The topic ‘Empty value causes error’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-answer-is-pre-selected/#post-15021726)
 * Status: resolved