I have a little problem implementing a javascript to validate form in php.
The validation works when the submit button si clicked, but then continues execution after clicking "ok" on the pop-up window informing the required field is left blank.
I figured there must be a problem with the semi colon inside the print function.
print("<input type=submit value=Submit name=SUBMIT onClick=MM_validateForm('Name','','R');return document.MM_returnValue>");
How can make this work? please help...
Thank you,