asp.net mvc 2 validating text inputs on modal windows

Posted by nick on Stack Overflow See other posts from Stack Overflow or by nick
Published on 2010-05-18T10:16:37Z Indexed on 2010/05/18 10:20 UTC
Read the original article Hit count: 335

hi guys,

i am tasked with the job of creating client-side validation on a form in an asp.net MVC 2 application, which has a modal window (the modal exists as part of the wrapping form, it is not a form unto itself). how would i go about providing validation for these text field inputs while the modal is visible, but do not validate while the modal is not displayed (as to not cause problems in the rest of the form if the modal window is never required)

What is the best approach to achieve this functionality?

thanks, Nick

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2-validation

Related posts about asp.net-mvc-2