Skip to content

Conversation

@ljbc1994
Copy link
Contributor

According to jquery-validation's documentation and as can be seen from the library's code, adding the formnovalidate attribute to the form's submit button should bypass validation. jquery-ajax-unobtrusive seems to support the deprecated way of doing it (using class="cancel") but not the recommended way.

i.e.

<input type="submit" formnovalidate name="submit" value="Submit">

As a result, this PR fixes the issue (#22).

@ghost ghost deleted a comment from dnfclas Nov 14, 2017
@ghost ghost deleted a comment from dnfclas Nov 14, 2017
@ghost ghost removed the cla-signed label Nov 14, 2017
@mkArtakMSFT
Copy link
Contributor

@ljbc1994, thank for your contribution.

Copy link
Contributor

@mkArtakMSFT mkArtakMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mkArtakMSFT mkArtakMSFT merged commit baf14b6 into aspnet:master Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants