• Resolved juanmanuelsanch

    (@juanmanuelsanch)


    Hello ! First of all thanks in advance for the help.


    I have a select list where the first value its blank or a placeholder… the problem is that… that value should not be valid. You have to select a valid value (the next options)

    For example
    SELECT AN OPTION (PLACEHOLDER)

    OPTION 1

    OPTION 2

    The valid values should be option 1 or 2


    So for example I leave the first option the form wont be sent. Is there a way to do this?

    Thanks !

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @juanmanuelsanch

    I hope you are doing well today.

    No matter if your select field is required or not, the placeholder is not taken into account as value when you submit a form.

    If the select is set up as required, and you will not select any value and leave only a placeholder, you will see an error message from the “Error message” field.

    If select is set up as not required, and you will not select any value and leave only a placeholder, you will see an error message: “At least one field must be filled out to submit the form.”

    Are you facing different scenario? On the site you have shared, where form exist in popup I cannot see placeholder in select field.

    Kind Regards,
    Kris

    Thread Starter juanmanuelsanch

    (@juanmanuelsanch)

    There should be an palceholder option (Escoge una opción) and then 2 valid options:


    Escazú

    Pinares

    Maybe Im setting the placeholder wrong?

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @juanmanuelsanch,

    Please make sure you define it in the Placeholder field as shown on the following screenshot:

    https://prnt.sc/hgVdBsnzTQW8

    If there’s still an error, could you please export the form, and share the exported file via Dropbox, Google Drive, Pastebin.com, or another cloud service, in order for us to check the form on our test site.

    You can remove any sensitive data (like email address, etc.) before exporting the form file.

    Best Regards,
    Dmytro

    Thread Starter juanmanuelsanch

    (@juanmanuelsanch)

    Now its working as it should !

    The translation to Spanish doesn’t help because… its not a good translation of the word.

    Thanks !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Select list mandatory value’ is closed to new replies.