- September 14, 2017 at 10:40 am #14723
I have Custom Label with a comma like so ‘Sample, Label 1’.
When am creating Dropdown Values on Frontend Search Settings options ‘see attached’, how do I write it on values?
On the front-end, it’s not picking any Value with a comma
Attachments:You must be logged in to view attached files.September 14, 2017 at 2:06 pm #14726
I’m not sure if I understand correctly. Do you have custom field values, that include comma?
You can just simply write it there, and it should be treated as the option value, like so:
Sample, Label 1||Sample, Label 1
and the value will be ‘Sample, Label 1’ in the query. I did a test, and I believe it should work:Best,
– Test post, with ‘drop_down_field’ and value ‘Sample, Label 1’: https://i.imgur.com/j4ufyJS.png
– Test search: https://i.imgur.com/orCyUtK.png
– Results: https://i.imgur.com/LbFbLF2.png
If you like my products, don't forget to rate them on codecanyon :)
September 14, 2017 at 2:21 pm #14727
Yes it worked, I didn’t realise I could just use the name as is.
Banking_Insurance_&_Telecommunications||Banking, Insurance & Telecommunications
Banking, Insurance & Telecommunications||Banking, Insurance & Telecommunications
rgdsSeptember 14, 2017 at 2:23 pm #14728
You must be logged in to reply to this topic.