Good day to the Zen Cart forum members and readers!
I was recently trying to modify the advanced search in ZC 3.8A.....
I have a question about the file
/includes/modules/pages/advanced_search/jscript_main.php.....
I know that this PHP file contains a JavaScript that checks the Advanced Search form for errors (such as no blanks being filled in, correct date format, etc.)
Interestingly, when I comment out the whole of the file, except
<script language="javascript" src="includes/general.js" type="text/javascript"></script>
I would expect that the form checks would stop functioning.
BUT--If I don't enter any data, I still get the 'at least one blank on this form must be entered' error message.
How could this be? As far as I could tell, THIS was the file that checks for such errors, so how am I still getting an error message even when the code (that it seems is responsible for this function) has been removed?
Any help would be greatly appreciated; I'm learning a lot exploring the cart and trying to modify it, but I am STUMPED here.
Thanks, and have a great day...........!



