Title: Default Value Errors
Last modified: August 26, 2020

---

# Default Value Errors

 *  [Dalton](https://wordpress.org/support/users/daltoncleveland/)
 * (@daltoncleveland)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/default-value-errors/)
 * I’ve had some issues come up with a few of my forms after a recent gravity forms
   update, although I am not sure exactly which one… The forms that I am having 
   issues with, have these fields:
 * 2 Hidden Text Fields
    1 Drop-Down Field 2 Slider Fields 1 Email Address Field
 * The way the form is configured, depending on the option the user selects from
   the drop-down field, (either “Percent” or “Gallons”), the corresponding number-
   picker field will display, and the contrasting picker will be hidden. So if the
   user selects “Gallons” from the drop-down field, the “Percent” number-field will
   be hidden, and the “Gallons” field will display. Meaning you will only ever see
   1 slider field. By default, I have the “Percent” fields showing, and that seems
   to be working just fine. Its when a user selects “Gallons” (or the non-default
   option) in the drop-down field, that things start acting weird.
 * If I have a default value selected for this gallons slider, every submission 
   will be that default value, instead of what I select. So if I have the field 
   set to 500 gallons by default, the value that gets captured will always be 500,
   even if I enter 250 and submit.
 * On the other hand, if I do NOT have a default value selected for this gallons
   slider, the form submission will fail the first time around, but will work on
   the second try. For some reason, the first time I try to submit, the form displays
   an error saying that I need to enter a value in that slider field. Without changing
   any values, if I just go ahead and submit the form again, it seems to capture
   the correct value.
 * Hopefully I have explained things well enough for you to understand, but let 
   me know if I can help with anything else!
 * I will attach a couple GIF’s via a WeTransfer link [here](https://we.tl/t-CKHIW77BkK)
    -  This topic was modified 5 years, 9 months ago by [Dalton](https://wordpress.org/support/users/daltoncleveland/).

Viewing 1 replies (of 1 total)

 *  [martijnlindeboom](https://wordpress.org/support/users/martijnlindeboom/)
 * (@martijnlindeboom)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/default-value-errors/#post-13681108)
 * I have the same issue with (or not) having a default value and getting an error
   if someone doesn’t submit anything (because it’s is by accident actually the 
   value they need) now they have to constantly submit twice…

Viewing 1 replies (of 1 total)

The topic ‘Default Value Errors’ is closed to new replies.

 * ![](https://ps.w.org/gravity-slider-fields/assets/icon-256x256.png?rev=2073431)
 * [Gravity Slider Fields](https://wordpress.org/plugins/gravity-slider-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-slider-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-slider-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-slider-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-slider-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-slider-fields/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [martijnlindeboom](https://wordpress.org/support/users/martijnlindeboom/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/default-value-errors/#post-13681108)
 * Status: not resolved