Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Custom Label dropdown values with comma not searching
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 2 months ago.
- AuthorPosts
- September 14, 2017 at 10:40 am #14723
Hi Support,
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 commargds
Attachments:
You must be logged in to view attached files.September 14, 2017 at 2:06 pm #14726Hi!
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
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 14, 2017 at 2:21 pm #14727Hi,
Yes it worked, I didn’t realise I could just use the name as is.
BEFOR
Banking_Insurance_&_Telecommunications||Banking, Insurance & TelecommunicationsAFTER
Banking, Insurance & Telecommunications||Banking, Insurance & Telecommunicationsrgds
September 14, 2017 at 2:23 pm #14728You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.