MelB Posted March 6, 2022 at 02:06 PM Share Posted March 6, 2022 at 02:06 PM Hi, I want to add a field in advanced search that allows user to select the parent category first. So in my case there are 2 parent categories of Service and Request category numbers of say 1 and 2. I want users to be able to select one or the other and this then only shows the sub-categories in the next select field for that parent category. Is this possible with advanced search? Here is my current code which currently displays both parent categories and their related sub categories: <div class="jrFieldDiv jrLeft"> {keywords} </div><div class="jrFieldDiv jrLeft"> {jr_streetaddress} </div> <div class="jrFieldDiv jrLeft"> {radius options= Select radius, 5,10,15,20,25,30,40,50,60,70,80,90,100,120,150,200} </div> <div class="jrFieldDiv jrLeft"> {category} </div> <div class="jrFieldDiv jrRight"> <button class="btn btn btn-primary horizontalsearchbutton"> <span class=""></span><span>Search</span> </button></div> Kind regards Link to comment
Alejandro Posted March 7, 2022 at 10:38 AM Share Posted March 7, 2022 at 10:38 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts