Jump to content
xisto Community
Sign in to follow this  
kifak

Help With Search Code

Recommended Posts

hi !
i have a code of search , by regions and categories and key word. and this code is this below

function verif_formulaire2(){if(document.form2.searchmoteur.value == '') {alert('Veuillez entrer un mot-clé!');document.form2.searchmoteur.focus();return false;}if(document.form2.regionmoteur.value == '') {alert('Veuillez entrer votre region!');document.form2.regionmoteur.focus();return false;}if(document.form2.categoriemoteur.value == '') {alert('Veuillez entrer votre catégorie!');document.form2.categoriemoteur.focus();return false;}}//-->
i need help for this option to search by key word , i dont want option come false , and i want if i dont put anything in key word the search will search all what i have choossed by region and categories.
i have deleted this code of search by key word but its the same , the search necissite that i must give a key word. pls i want the search give me all without key word.
thx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.