use several JS function on form check
<p>i have a select box to allow the user select what kind of form he need to fill in.</p>

<p>the 2 options are for a single person or someone from a group therefore some of the fieldsets that are in use in the single are switched with some from the group ones.</p>

<p>so for the single user i have this functions: singleinformation, winninginformation, reporterinformation, parentalinformation.
and for the group i have groupinformation, winninginformation, reporterinformation.</p>

<p>in the onsubmit i have another check() function that will check the check box and by the selection will call the right functions</p>

<pre><code>function Check() {
    if (document.getElementById("type").value=="s") {
        return CheckSingleInformation();
        return CheckWinningInformation();
    }
    else if (document.getElementById("type").value=="g") {
        return CheckGroupInformation();
        return CheckWinningInformation();
    }

}
</code></pre>

<p>for some reason, after finishing the first function, if it returned without false it will send the form and not stop at the first error of the second function</p>

<p>what can i do to fix it?</p>
