Picklist and Empty Values
-
How can we get the first option and value in a picklist to be blank?
What we are trying to achieve is:
<select>
<option value=””></option>
<option value=”Yes”>Yes</option>
<option value=”No”>No</option>
</select>The following page states that it should work to set the first option to blank, but when we do this, and click save the first empty line in the options list gets removed, leaving only the remaining options. I’ve tried using a space character, and it gets removed as well.
https://wordpress.org/support/topic/picklist-default-value/
On this same topic, is there a way to specify different values for value attribute and displayed option? ie:
<option value=”abc”>123</option>
WordPress 4.9.13
Brilliant Web-to-Lead for Salesforce 2.7.3.4
The topic ‘Picklist and Empty Values’ is closed to new replies.