On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi Team,
    Is there a way to enable ajax for advsearch. Any Example is very useful. My Advsearch snippet is as follows.


    [[!AdvSearchForm? 
    &tpl=`AdvanceSearchForm_tpl`
    ]]
    
    [[!AdvSearch?
    &init=`all`
     &parents=`12`
    &includeTVs=`ArticleImage,EventDateTv`
    &queryHook=`FilterCalenderSnippet`
    &tpl=`AdvSearchResults_tpl`
    &pagingType=`0`
    &debug=`1`
    
    ]]
    • In your advsearch form you need this

      &withAjax=`1`
      &ajaxResultsId=`XX` 
      &liveSearch=`1`
      


      The ajaxresults id is the document id that has the advsearch snippet
        ■ email: lk@alienbuild.uk | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.