J
JJ297
After a user clicks the submit button I want a window to come up
telling them your entry has been submitted.
I have this code in my page load section which works well.
Submit.Attributes.Add("onclick", "return window.confirm('Your entry
was submitted.')")
My problem is it's not picking up my validation if the user doesn't
fill in the text boxes and just hit the submit button they get your
entry was submitted. How do I get it to see the validation first and
only submit the page after it's filled out?
telling them your entry has been submitted.
I have this code in my page load section which works well.
Submit.Attributes.Add("onclick", "return window.confirm('Your entry
was submitted.')")
My problem is it's not picking up my validation if the user doesn't
fill in the text boxes and just hit the submit button they get your
entry was submitted. How do I get it to see the validation first and
only submit the page after it's filled out?