kifak 0 Report post Posted November 15, 2010 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