But pipe sign is not working.
What problems do you have?
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.
See Selectable recipient with pipes
This is the expected output:
<option value="CEO">CEO</option>
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.
Hello @takayukister
Any update on this thread?
Thanks!