Support » Plugins » Custom search form with Javascript

  • Hi all,

    I’m making a search form which requires some javascript. The form is located in a .php file but when i put the script there it doesn’t work and it gives me a blank page.

    I need the following code. It works but not in the .php file. So what should I do?

    <form target="frame2" id="searchform" name="searchform" onsubmit="javascript:if ((zoek.value == '') || zoek.value.match(/^ +$/)) return (false);" action="" >
    <input type="text" id="zoek" name="zoek" size="20" />
    <input type="image" id="submit" name="submit" src="" alt="Zoek & bestel!" /></center>
    <input type="hidden" name="MemberNr" value="7211"/>
    <input type="hidden" name="pf" value="eBook"/>


  • The topic ‘Custom search form with Javascript’ is closed to new replies.