Hello All,
I have a problem with the submit button. I have an image as a replacement to the Submit button and then I include an OnClick Method to submit, ie, onClick = formName.submit() and that works fine. However, I have a function checkSubmit that checks that all the fields are entered, however, I do not know how to call this function. I tried in the Form action as follows:-
<form action="contactMail.asp" method="post" name="contactForm" id="contactForm" onSubmit="return checkSubmit()">
but it is not working. How can I make it work?
Thanks for your help
I have a problem with the submit button. I have an image as a replacement to the Submit button and then I include an OnClick Method to submit, ie, onClick = formName.submit() and that works fine. However, I have a function checkSubmit that checks that all the fields are entered, however, I do not know how to call this function. I tried in the Form action as follows:-
<form action="contactMail.asp" method="post" name="contactForm" id="contactForm" onSubmit="return checkSubmit()">
but it is not working. How can I make it work?
Thanks for your help