Jim am I missing something

General ShopSite user discussion

Jim am I missing something

Postby mjbrunelle » Tue Oct 06, 2009 12:21 pm

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(); }
}
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am

Got it working

Postby mjbrunelle » Wed Oct 07, 2009 6:37 am

No need, got the script working.
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 110 guests