Assigned an ID to the SignIn Form, then used Javascript to submit the form.
CheckIt confirms the input fields of email and password, but when the form is submitted, I get sent to Registration Message page with the message "No Function was Required"\
Am I missing something here?
function idForm()
{
var numForms = document.getElementsByTagName("form");
for (i = 0; i < numForms.length; i++)
{
if (numForms[i].getAttribute("classname") == "cr")
{ numForms[i].setAttribute("id","formSignIn"); }
}
}
function submitSignin()
{
if (CheckIt(166,0))
{ document.getElementById("formSignIn").submit(); }
}