/src/main/java/org/htmlunit/html/HtmlForm.java
for ( final HtmlElement element : getElements ( ) ) { if ( isSubmittable ( element, submitElement ) ) { submittableElements.add ( ( SubmittableElement ) element ) ; }
} } return super.isValid(); } Collection<SubmittableElement> getSubmittableElements(final SubmittableElement submitElement) { final List<SubmittableElement> submittableElements = new ArrayList<>(); <extra_id_0> } return submittableElements; } private static boolean isValidForSubmission(final HtmlElement element, final SubmittableElement submitElement) { final String tagName = element.getTagName(); if (!SUBMITTABLE_ELEMENT_NAMES.contains(tagName)) {