/src/main/java/org/htmlunit/html/HtmlForm.java
if ( rel != null) {
if ( scriptResult == null ) {
if (validate && !areChildrenValid()) { return; } final ScriptResult scriptResult = fireEvent(new SubmitEvent(this, ((HtmlElement) submitElement).getScriptableObject())); if (isPreventDefault_) { <extra_id_0> return; } return; } } final String action = getActionAttribute().trim();