[select my_select class:input class:styled "Select Options"
"Option 1" "Option 2" "Option 3" "Option 4"]
Question:
How to prevent printing 'Select Options'
if user not selected any options in receiving email?
If user select first option ('Select Options')
,it should not print as 'Select Options'
in mail.
[select my_select first_as_label class:styled "Select Options" "Option 1" "Option 2" "Option 3" "Option 4"]
Also, you can check the documentation.
Change your select tag to the following
The first option will have “—” as the text and a blank value,
<option value="">---</option>
If you want to replace the text “—” with “Select Options” add the following code to functions.php
[select* BurjBestCompany default:get “The Best Advertising & Marketing Company” “The Best Airlines Company” ]
BurjBestCompany should match with the query string name
For example:
Here is the Simple Solution to add Place Holder to select Drop Down Menu
This solutions worked exact how I wanted. so all the forms have consistency and the same default selected – you need to add the ‘include_blank’ on the field shortcode:
As https://stackoverflow.com/users/80368/anand-shah commented