We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30912
    • 463 Posts
    Hi all,

    for the first time i am having to do a search for a site and other than the basic call i ahve no idea how to progress.

    heres the call

    [!AjaxSearch? &ajaxSearch=`0` &AS_landing=`4` &AS_showForm=`0`&whereSearch=`content:content|tv:location,Worktype` !]


    and heres my form

    <form id="ajaxSearch_form"  action="[~4~]" method="post">
     Keyword
    <label for="ajaxSearch_input">
          <input id="ajaxSearch_input" type="text" class="cleardefault"  name="search" value="Search here..."  onfocus="this.value=(this.value=='Search here...')? '' : this.value ;" />
        </label>
    
    <br/>
      Location
        <select name="search[]" id="ajaxSearch_select" size="1" >
    <option selected="selected">Please Select</option>
        <option>London</option>
        <option>Yorkshire</option>
        </select>
     <br/>
    Job Category
    <select name="search[]" id="ajaxSearch_select" size="1" >
    <option selected="selected">Please Select</option>
        <option>Engineer</option>
        <option>Cable Layer</option>
    
        </select>
    
    
       <label for="ajaxSearch_submit">
          <input id="ajaxSearch_submit" type="submit" name="sub" value="Go!" />
        </label>
    
    </form>
    


    overall its kind of working, if i use the below code

    [!AjaxSearch? &ajaxSearch=`0` &AS_landing=`4` &AS_showForm=`0`&whereSearch=`content|tv` !]


    but i need to be able to search for either the keyword, the location, the category, or 1/ all of them

    for example if i put in Yorkshire and cable layer, it choses the right page in the returns but if i just put ipsum in keywords it doesnt pull back anything.

    the site is http://ntrs.aspiredevelopmentserver.co.uk/ with http://ntrs.aspiredevelopmentserver.co.uk/manager

    you can log in to look with

    UseR: demo
    password: demo12

    im a total noob to this and im still learning.