Asp net form not validating

Net control's values in variables so it cannot be repeated again and again in our function the email Exp variable holds the pattern of the email id in the form of a regular expression.

Now add the condition to ensure that all controls have a value, if the values are not entered in the form control then it will show a message.

- I tryed with both CDN enabled and disabled in the Rad Script Manager.

- I tryed with both your Jquery and with Google CDN served JQuery (1.9.1) I really don't know where else look at...

No 404 or 500 errors) This doesn't happen in my real code btw, just happens on the page I copy/pasted from your on-line example to make tests (I will report the code down here).

This means that somehow I fixed that second bug in my real project but I don't remember how.

Net pages, User and User along with the User Java Script file.

In the User page the user enters the form details and then only after validating the details the page is redirected to the User page.

In the preceding screen you clearly see that even I have wriiten the code on the create button to redirect to the next page but it will not be redirected because the form data is blank and it does not satisfy our validation condition that we set.

Now click on the "Create" button; it will redirect to the next page as in the following: Note For detailed code please download the zip file attached above.

densoft.ru

10 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>