• Hello everyone,

    I’d like to know if there’s a way to replace :

    <input type="text" name="s" id="s" />

    by

    <input type="text" name="KEYWORDS" id="s" />

    in the search form.

    I’m trying to have one form with 2 actions, but the 2 actions need 2 different query names…

    Hope my request is clear enough. Thank you for your help !

    Julien

Viewing 2 replies - 1 through 2 (of 2 total)
  • modify searchform.php in the theme folder..

    Thread Starter julient

    (@julient)

    Hello Eridan,

    Actually, if I change the name in this input, the search form doesn’t return any correct result. I think this is a parameter that has to be modified in another file, but I can’t find the right one.

    I guess that in a file the query name is defined as “s” for the search form and I would like to modify it by “keywords” so that the names of the 2 forms match.

    I hope this is a parameter that can be modified.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to modify the query input name in the search form ?’ is closed to new replies.