Title: Form select value empty
Last modified: June 8, 2018

---

# Form select value empty

 *  Resolved [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/)
 * Hello,
    I wanted to add a mandatory select module with an empty value. How can
   this be done? Thank you

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

 *  Thread Starter [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10378820)
 * See module Adults* in [https://www.algheroedera.it/appartamento-mugoni/](https://www.algheroedera.it/appartamento-mugoni/)
   
   Thanks
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10382684)
 * Hi dear user.
 * Sorry, but we didn’t understand you well, can you explain the request with more
   details?
 * Thanks.
 *  Thread Starter [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10390018)
 * I have this:
 *     ```
       <select id="wpdevart_form_field7" name="wpdevart_form_field7" class="wpdevart-required ">
       <option value="Select Number adults" >Select Number adults</option>
       <option value="1">1</option>
       <option value="2">2</option>
       <option value="3">3</option>
       option value="4">4</option>
       <option value="5">5</option></select>
       ```
   
 * I would like to have this:
 *     ```
       <option value="" >Select Number adults</option>
       ```
   
 * that is, the value must be empty.
 * Thanks
 * _[ [Please do not bump.](https://wordpress.org/support/guidelines/#do-not-bump-posts)]_
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10412353)
 * Hi dear user.
 * Sorry for the late response.
 * Unfortunately, it is not possible. If we understood right, you want to change
   the form field type, but there isn’t such form field type in our calendar. You
   can set text field if you want.
 * Thanks.
 *  Thread Starter [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10413277)
 * Hi Wpdevart,
    I do not want to change the form field. I want to make a select
   field mandatory entering up to 5 adults with the following values (“” or 0, 1,
   2, 3, 4, 5) with mandatory field, but this is not possible. see here [https://www.algheroedera.it/appartamento-mugoni/](https://www.algheroedera.it/appartamento-mugoni/)
 * The field is not mandatory because
    <option value = “Select Number adults”> Select
   Number adults </ option> instead of <option value = “”> Select Number adults 
   </ option>
 * Thank you
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10420060)
 * Dear user.
 * We didn’t understand you well. Do you want to set default value 5?
 * As we see adults field is required(want to make a select field mandatory entering).
 * Thanks.
 *  Thread Starter [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10420921)
 * yes, I want to make a select field mandatory and I want to set default value “”(
   empty) with label “Select Number adults”.
    Thanks
    -  This reply was modified 7 years, 11 months ago by [maxtrend](https://wordpress.org/support/users/maxtrend/).
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10427897)
 * Hi dear user.
 * When you add the Drop Down option, left blank the first line, then add numbers
   per line.
 * Thanks.
 *  Thread Starter [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10476998)
 * I’m sorry, what you say does not work.
    After saving, the first line is deleted.
   I give up.
 * goodbye
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10480904)
 * Okay dear user.
 * Then we will close this topic.
 * Have a nice day.
 *  Thread Starter [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * (@maxtrend)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10496697)
 * The topic is not solved.
    I just stopped banging my head because a select field
   is not mandatory to add it. Your software has an unresolved bug. Excuse me but
   it is right to clarify things. Good day

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

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

 * ![](https://ps.w.org/booking-calendar/assets/icon-128x128.png?rev=1307202)
 * [Booking calendar, Appointment Booking System](https://wordpress.org/plugins/booking-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-calendar/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [maxtrend](https://wordpress.org/support/users/maxtrend/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/form-select-value-empty/#post-10496697)
 * Status: resolved