javascript - js field check not working properly -
i'm having problem required fields in form... i've got function check fields, reason keeps poping "please fill out required fields" when load page, instead of when leaves field(s) blank. please help! here web address of site;
http://www.rubinosrestaurant.com/mobile/catering.php
the other related files are;
mobile/index.css
mobile/email_catering.php
if can me, eternally grateful. thanks!
emailfailed = '<p>please fill out required fields!</p><img src="images/close-button.png" alt="close modal" id="close-modal">'; modalopen(emailfailed);
you calling function "modalopen(emailfailed);" when page getting load.... function not written in , function called @ page load time.. not load function @ time. call when send button clicked..
Comments
Post a Comment