/src/main/java/org/htmlunit/html/HtmlForm.java
if ( element.hasAttribute ( ATTRIBUTE_DISABLED ) ) { return false; }
} private static boolean isValidForSubmission(final HtmlElement element, final SubmittableElement submitElement) { final String tagName = element.getTagName(); if (!SUBMITTABLE_ELEMENT_NAMES.contains(tagName)) { return false; } <extra_id_0> if (element == submitElement && element instanceof HtmlImageInput) { return true; } if (!HtmlIsIndex.TAG_NAME.equals(tagName) && !element.hasAttribute(NAME_ATTRIBUTE)) { return false; }