Support

Account

Home Forums General Issues Select default value Reply To: Select default value

  • Hi John,

    Thanks for your guidance 🙂

    Just so I understand you correctly, here’s a screenshot of my settings when creating the Custom Field:

    https://dl.dropboxusercontent.com/u/167786/acf-select-1.png

    And here’s a screenshot of how it appears to the user:

    https://dl.dropboxusercontent.com/u/167786/acf-select-1-user.png

    As you can see, -Select- is added, but it still gets ignored in favour of the first actually entry (Aberdeenshire). If I switch to this:

    https://dl.dropboxusercontent.com/u/167786/acf-select-2.png (with allow null now set to ‘No’. Then the user gets this with no -Select-

    https://dl.dropboxusercontent.com/u/167786/acf-select-2-user.png

    With the first case I inspected the select box element and saw this:

    https://dl.dropboxusercontent.com/u/167786/acf-select-3-user.png

    As you can see the -Select- option is ignored and ‘Aberdeenshire’ is selected like so: <option value="Aberdeenshire" selected="selected">Aberdeenshire</option>

    I should also note I have tried both of those set ups above with a default value of null as here:

    https://dl.dropboxusercontent.com/u/167786/acf-select-4.png

    And also -Select – as here:

    https://dl.dropboxusercontent.com/u/167786/acf-select-5.png

    Is this what you’d expect to see based on your explanation above?

    Thanks,

    Kev