MVC4 novalidate appearing in form novalidate="novalidate"http://forums.asp.net/t/1748008.aspx/1?MVC4+novalidate+appearing+in+form+novalidate+novalidate+Tue, 24 Apr 2012 12:35:04 -040017480084723914http://forums.asp.net/p/1748008/4723914.aspx/1?MVC4+novalidate+appearing+in+form+novalidate+novalidate+MVC4 novalidate appearing in form novalidate="novalidate" <p>When veiwing the generated html in MVC4 I see this:</p> <pre class="prettyprint">&lt;form id=&quot;form0&quot; action=&quot;/TicketDB/Create&quot; method=&quot;post&quot; data-ajax-update=&quot;#target&quot; data-ajax-mode=&quot;replace&quot; data-ajax=&quot;true&quot; data-ajax-method=&quot;POST&quot; jQuery17106042114308157038=&quot;3&quot; sizcache09730110121886222=&quot;0&quot; sizset=&quot;0&quot; novalidate=&quot;novalidate&quot;&gt;</pre> <p>&nbsp;</p> <p>In my MVC3 form I see this.&nbsp;</p> <p>&nbsp;</p> <pre class="prettyprint">&lt;form id="form0" action="/ticketDB/Create" method="post" jQuery1620512913517080009="228" data-ajax-update="#target" data-ajax-mode="replace" data-ajax-method="POST" data-ajax="true"&gt;</pre> <p>&nbsp;</p> <p>Why is there a change and how will this effect validation?</p> <p>&nbsp;</p> 2011-12-09T13:18:32-05:004868489http://forums.asp.net/p/1748008/4868489.aspx/1?Re+MVC4+novalidate+appearing+in+form+novalidate+novalidate+Re: MVC4 novalidate appearing in form novalidate="novalidate" <p>Without knowing how you are setup, this is normally done to deactivate HTML5 form validation.</p> <p>Nothing to do with jQuery validation that is being done normally.</p> <p>HTML5 inputs will normally prevent the submit from happening if it validates that it's not the proper format. This attribute prevent this behavior from happening.</p> 2012-03-07T14:41:18-05:004886221http://forums.asp.net/p/1748008/4886221.aspx/1?Re+MVC4+novalidate+appearing+in+form+novalidate+novalidate+Re: MVC4 novalidate appearing in form novalidate="novalidate" <p>The novalidate attribute is part of the HTML 5 standard specification and isn't tied to MVC in any way. See <a href="http://www.w3schools.com/html5/att_form_novalidate.asp">here http://www.w3schools.com/html5/att_form_novalidate.asp </a></p> <p></p> 2012-03-18T15:40:20-04:004948636http://forums.asp.net/p/1748008/4948636.aspx/1?Re+MVC4+novalidate+appearing+in+form+novalidate+novalidate+Re: MVC4 novalidate appearing in form novalidate="novalidate" <p>Your statement is not entirely correct.&nbsp; Yes, this is standard HTML5 notation, however it is being generated by the MVC framework.&nbsp; In my situation I want to use the HTML5 validation and need to remove this attribute.&nbsp; Can anyone tell me how to instruct MVC not in emit this?</p> 2012-04-24T12:35:04-04:00