an
groups-icon

Country as required field – problem

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Chuck M
    0 points
    Beginner

    I’m looking to require the user to select the country in order to register on my site.

    I made a required field for “Country” on the account registration page and made it a required field using a dropdown box.

    However, the problem is when you go the the registration page, instead of the dropdown box showing blank or “Choose country…”, that dropdown box is already populated with the first country on the list which happens to be Afghanistan.

    So technically, the user can skip it or forget to select their country and just submit their registration since a country is already selected and they won’t get an alert to select a country. So technically, even though it’s a required field, it won’t act like one so technically it really isn’t a required field. lol

    How do I make it so that the dropdown box is either blank or shows “Choose country…” so that if they forget to select a country, the form will spit back an alert message telling them to select a country?

    January 9, 2017 at 5:57 am
  • Josh njenga
    -10 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 9, 2017 at 12:38 pm
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 9, 2017 at 7:04 pm
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 11, 2017 at 5:57 pm
  • Josh njenga
    -10 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 12, 2017 at 2:06 pm
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 12, 2017 at 4:06 pm
  • Josh njenga
    -10 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 12, 2017 at 4:47 pm

403

Views

6

Replies