Hello!
I am a n00b to both PHP and Javascript, so please bear with me...
I have a form and I use Javascript to validate the form. If there is an error on the for it displays the appropriate alert. The problem I have is when I click "OK" on the alert it processes the form anyways.
I am guessing I need to put something in the javascript that prevents the form from being processed, but I have no idea what I should be putting there.
Both the javascript validation and PHP processing pointers are included in my form tag.
<form name="form" onsubmit="Validate()" method="post" action="process.php">
Should I move the PHP action so it's included in the javascript function?
Thanks for taking the time to look at this!