- This topic has 4 replies, 3 voices, and was last updated 10 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › How to insert options with commas in Selectbox/Dropdown?
Tagged: custom fields
I have a problem with wp-eMember dropdown list, to add items you should input something like: item1=>item1,item2=>item2 .. it is separated by commas. problem is I have items which have a commas.
I need to add this to my dropdown called countries:
Saint Barthelemy,Saint Helena, Ascension and Tristan da Cunha=>Saint Barthelemy,Saint Helena, Ascension and Tristan da Cunha, Australia=> Australia
It doesn’t work correctly because some of my items have commas. Do you guys know how could I escape the comma?
Please take note that I can’t remove the comma, it is important.
are you talking about custom fields?
Try replacing each coma you want displayed with:
& # 4 4 ;
<
It worked. Thanks!