Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# .NET MVC3
I have implemented validation for a form Using attributes in Model. When i use <input> tag of submit type then form will not be submitted untill validation are false.but when i using anchor tag onclick submittion then form is submitting without checking client side validation. I want to use anchor tag. and want to fire client side validation
Posted 21-Jan-13 21:03pm
Comments
shabari7 at 22-Jan-13 2:09am
   
try link button
Member 9583779 at 23-Jan-13 0:13am
   
link buton is directly submitting the form without checking the form.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100