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

    (@takayukister)

    But pipe sign is not working.

    What problems do you have?

    Thread Starter Bhavin Patel

    (@bhavinp311)

    If I used as below it will only show left side of pipe key in both value ane label.

    [select your-recipient “CEO|ceo@example.com” “Sales|sales@example.com” “Support|support@example.com”]
    <option value=”CEO”>CEO</option>

    It should work like below:
    <option value=”CEO”>ceo@example.com</option>

    • This reply was modified 1 year, 9 months ago by Bhavin Patel.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Selectable recipient with pipes

    This is the expected output:

    <option value="CEO">CEO</option>
    Thread Starter Bhavin Patel

    (@bhavinp311)

    Hello,
    I need label value pair select box. So, I googled and came to this link. This link says if you use below code.

    [select your-recipient "CEO|ceo@example.com"]

    It will produce below ouput:

    <option value="ceo@example.com">CEO</option>

    What is the meaning of above shortcode if both label and value are same?
    We can use below shortcode instead:

    [select your-recipient "CEO" "Sales" "Support"]

    I hope it make sense.

    • This reply was modified 1 year, 9 months ago by Bhavin Patel.
    • This reply was modified 1 year, 9 months ago by Bhavin Patel.
    Thread Starter Bhavin Patel

    (@bhavinp311)

    Hello @takayukister
    Any update on this thread?

    Thanks!

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

The topic ‘Select box with pipes’ is closed to new replies.