* as value Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › * as value This topic has 5 replies, 2 voices, and was last updated 10 years, 7 months ago by Ernest Marcinko. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 27, 2015 at 11:06 am #6470 Mte90Participant I’ve a dropdown with many value but also a default value All but i don’t understand how to write a value like this. I’ve tried with a blank value or an * but nothing. October 27, 2015 at 11:08 am #6471 Ernest MarcinkoKeymaster Try leaving it as an empty value, like so: ||All sample_value1||Sample Label 1 sample_value2||Sample Label 2 sample_value3||Sample Label 3 … October 27, 2015 at 11:12 am #6472 Mte90Participant Okay I’ve understand the problem, if there is ** the value is not selected (I’ve checked in the html). October 27, 2015 at 11:16 am #6473 Mte90Participant Okay for fix that problem in asp.shortcode.custom_fields.php on line 40: Replace: strpos(‘**’, $matches[2]) With strpos($matches[2], ‘**’) October 27, 2015 at 11:17 am #6474 Ernest MarcinkoKeymaster You are right, there is a bug, I just found it. wp-content/plugins/ajax-search-pro/includes/views/asp.shortcode.custom_fields.php on line 40: [code]echo strpos(‘**’, $matches[2]);[/code] it should be [code]echo strpos($matches[2], ‘**’);[/code] October 27, 2015 at 11:18 am #6475 Ernest MarcinkoKeymaster Ah, ok, you found it too 🙂 I’m adding it to the next release bugs list. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In