Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumHTMLvalidation attrs required patternSingle-choice MCQ

A submit button carries the formnovalidate attribute while its form has no novalidate attribute and contains a required, empty field. What happens when that button submits the form?

<form action="/save"> <input name="email" type="email" required> <button type="submit">Save</button> <button type="submit" formnovalidate>Save draft</button> </form>