Viewing 5 replies - 1 through 5 (of 5 total)
  • Take this example as your select tag,

    ​​ [select menu-771 "sam" "joe" "mike"]

    Your first on the list would be sam
    When generating your tag in the CF7 settings page, do not check the “Insert a blank item as the first option”​​ button.

    Also, add the first item you want to appear as the first in the list you would insert into Options textarea. ​​

    Thread Starter WP Gang

    (@merkucio)

    Thanks for your reply davmerit.

    It’s an appointment form.

    If sam will be first, all visits will be to sam.
    If I take ‘Select doctor’ as a first item, all visits will be to Select Doctor :)))

    So, I hope you understand, that it’s nor what I need.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter WP Gang

    (@merkucio)

    @takayuki Miyoshi

    Thanks for your help but I’m not sure…

    This is the code, I use:
    [select* menu-206 "Select doctor" "David Mikaberidze" "Sophio Gelashvili" "Maya Dolidze"][text* your-name placeholder "Full Name"][text* phone-number placeholder "Phone Number"][email your-email placeholder "Email Address"][date date][textarea your-message placeholfer "Message"][submit "SEND MESSAGE"]

    Where and how can I add first_as_label option?!

    @merkucio – I think I understand you 🙂

    In your case you would do

    [select* menu-206 first_as_label "Select doctor" "David Mikaberidze" "Sophio Gelashvili" "Maya Dolidze"]

    “Select doctor” becomes the label but non-selectable. Other selectable elements would be “David Mikaberidze” “Sophio Gelashvili” “Maya Dolidze”.

    also see tag syntax on how tags work. 😉

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Placeholder instead of include_blank — lines’ is closed to new replies.