We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 727
    • 502 Posts
    I have a page template that includes the search box using the FlexSearchFormSnippet:

    [[FlexSearchForm?FSF_landing=5&FSF_showResults=0]]


    The page with id = 5 is the results page. in [*content*] I show the results:

    [[FlexSearchForm?FSF_showForm=0]]


    I open my browser and search for "food". I am taken to page id 5 and I get the results. So far so good.
    I then search for "store". The page reloads and shows the "food" results. It also shows "food" in the search box.

    So it seems that it gets stuck on the first search term I enter. Any ideas?

    Andy
      • 26435
      • 1,193 Posts
      ScottyDelicious Reply #2, 18 years ago
      Try placing this:
      [!FlexSearchForm?FSF_showForm=0!]


      instead of :
      [[FlexSearchForm?FSF_showForm=0]]


      on your landing page. The exclamation marks tell the snippet to execute it’s code uncached laugh

      -sD-
        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
        All of the above... in no specific order.


        I send pointless little messages
        • 727
        • 502 Posts
        Yep, that fixed it! Thanks! grin

        Andy