/src/main/java/org/htmlunit/html/HtmlForm.java
return false; if ( !isValidForSubmission( element, submitElement) ) {
if ( !isValidForSubmission ( element, submitElement ) ) { return false;
if (HtmlSelect.TAG_NAME.equals(tagName)) { return ((HtmlSelect) element).isValidForSubmission(); } return true; } private static boolean isSubmittable(final HtmlElement element, final SubmittableElement submitElement) { <extra_id_0> } if (element == submitElement) { return true; } if (element instanceof HtmlInput) { final HtmlInput input = (HtmlInput) element;