The "Accept" rule in the latest version of jQuery Validate now expects a mime type to be specified, not a file extension.
A new "Extensions" rule has subsequently been added for this purpose.
Note that as of v1.90 both of the above rules are now available separately inside the "Additional Methods" download.
Comments: A quick fix is to remap the jQuery Unobtrusive plugin to use the extension rule. Change: adapters.addSingleVal("accept", "exts") To: adapters.addSingleVal("accept", "exts", "extension") The final parameter is the jQuery Validate rule name which if not specified defaults to the adapter name.
A new "Extensions" rule has subsequently been added for this purpose.
Note that as of v1.90 both of the above rules are now available separately inside the "Additional Methods" download.
Comments: A quick fix is to remap the jQuery Unobtrusive plugin to use the extension rule. Change: adapters.addSingleVal("accept", "exts") To: adapters.addSingleVal("accept", "exts", "extension") The final parameter is the jQuery Validate rule name which if not specified defaults to the adapter name.