Support » Plugin: Booking calendar, Appointment Booking System » Form select value empty

  • Resolved maxtrend

    (@maxtrend)



    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)
  • Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    Sorry, but we didn’t understand you well, can you explain the request with more details?

    Thanks.

    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. ]

    Plugin Author wpdevart

    (@wpdevart)

    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.

    maxtrend

    (@maxtrend)

    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/

    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

    (@wpdevart)

    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.

    maxtrend

    (@maxtrend)

    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 3 months ago by  maxtrend.
    Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    When you add the Drop Down option, left blank the first line, then add numbers per line.

    Thanks.

    I’m sorry, what you say does not work.
    After saving, the first line is deleted.
    I give up.

    goodbye

    Plugin Author wpdevart

    (@wpdevart)

    Okay dear user.

    Then we will close this topic.

    Have a nice day.

    maxtrend

    (@maxtrend)

    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)
  • You must be logged in to reply to this topic.