• Resolved wolfbedrock

    (@clarkevans7)


    Not sure why I can’t figure this out, this may be super simple.

    So the contact form works great, yet for drop down selections how would you display a title for an example I have this as one of the fields:

    [select company-size “1-10” “11-50” “51-100” “101-500” “501-1000” “1001-5000” “5001+”]

    It works like it should, no issues.

    How can I display “Company Size” to the end user? As of now by default, you see 1-10 and can select the other options. I don’t want to show the title above it just as a placeholder option like I have with

    [text* first-name placeholder “First Name” ]

    Any help would be great, no links are attached due to maintenance mode activated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    You can use first_as_label option like this

    [select company-size first_as_label "Company Size" "1-10" "11-50" "51-100" "101-500" "501-1000" "1001-5000" "5001+"]

    See https://contactform7.com/checkboxes-radio-buttons-and-menus/#select

    I tried that but appears that first_as_label aren’t working in 5.0.1 version.

    [select* test id:jurisdiction first_as_label “What is your choive?” “Cake” “Pizza” “Burger” “Salad” “Donut”]

    If I don’t select something the plugin register the first option as a valid choice.

    I need that first option isn’t an enabled option.

    Could I achieve that with first_as_label option ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Drop Down Menu Title AS Placeholder?’ is closed to new replies.