BrijBhasin
asked on
form not being validated before submission
i have a form with lot of validtion controls to check for fields. But the form submits without checking for any form fields. I have rechecked the IDs on the requiredfield property and tehy r all distinct. Is there anything else I can check.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oops please ignore me I was speaking HTML/JavaScript.
ASKER
I put the CausesValidation="true" but that didnt work .. if I submit the form without entering anything this is the error I get
which is basically saying that the mail message can't be sent i.e. the form submitted blank
At least one of the From or Sender fields is required, and neither was found.
Line 208:' Send the Mail Message
Line 209:SmtpMail.SmtpServer = "mail.amsumash.com"
Line 210:SmtpMail.Send( objMailMessage )
which is basically saying that the mail message can't be sent i.e. the form submitted blank
At least one of the From or Sender fields is required, and neither was found.
Line 208:' Send the Mail Message
Line 209:SmtpMail.SmtpServer = "mail.amsumash.com"
Line 210:SmtpMail.Send( objMailMessage )
onsubmit="return f_Validate(this)"
Otherwise, could you post your code?
Good luck.