• Resolved Archie Makuwa

    (@archie22is)


    I would like to insert a default option in the select field, e.g.

    ––
    Option A
    Option B
    Option C
    Option D

    When loading the form, ‘––’ must be selected and unless you select A to D, you must get a validation error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Hello,

    You can specify the option name and value with a slash, to to add a blank option you can do this
    Select an animal/,cat,dog,rabbit
    Like wise you can do things like this
    Select an animal/,I love Cats!/cat,I love dogs!/dog,I love rabbits!/rabbit
    The select visual option will be “I love cats!” but the actual value submitted will be “cats”

    Thanks,

    Stiofan

    Thread Starter Archie Makuwa

    (@archie22is)

    Thank you very much @stiofansisland. I greatly appreciate your assistance.

    Plugin Author Stiofan

    (@stiofansisland)

    You are welcome! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to I inset a blank option when using the select field?’ is closed to new replies.