Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • environc Friend
    #188154

    Hi, Search form Reset button is taking user to home page, instead of just clearing already entered results and remaining on the same page. How do I get the button to just clear the form and stay there? Regards

    HeR0 Friend
    #495564

    Hi Environc,

    In the Advance Search Form, please edit the button Reset as below
    <button class=”btn” onclick=”resetForm()”>Reset</button>
    To
    <button type=”button” class=”btn” onclick=”resetForm()”>Reset</button>
    Hope this helps.

    Regards

    environc Friend
    #495621

    Hi Hero, thanks. I tried this but it did’nt work (didn’t even clear, just returned to home page). I then tried type=”reset” and it clears but still takes to home page. I then removed onclick=”resetForm()”, it still clears and then takes to home page. Any more tricks? Regards

    HeR0 Friend
    #495728

    Hi,

    If you add type=”button” into the Reset button as my earlier post, i am sure that it works fine. Remember to clear cach after changing.

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  HeR0 11 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum