Click to See Complete Forum and Search --> : Form not functioning - alert test


RonT
09-30-2006, 07:35 PM
I have an affiliate template website which collects entry data such as name address, etc, then asks you to hit a "complete application" button.

When I do a box appears with the word "test" in it. There is a yellow triangle and it has an explanation point in it. It also has an ok button, but nothing else happens when ok is hit. As a result a potential customer never gets past this message to complete the application. When I am Testing to see if the form is functioning i am careful to enter email in correct form as well as entering the proper number of numbers ie phone

I looked in the source code and found the following code, but I dont know what it means what to change or how to make the form function properly.


function checkForm() {
alert('test');
return false;

var Form=document.LeadForm;
var returnValue=true;

returnValue = checkTextBox(Form.FName,'First Name',returnValue);
returnValue = checkTextBox(Form.LName,'Last Name',returnValue);
returnValue = checkTextBox(Form.Email,'E-mail Address',returnValue);
returnValue = checkTextBox(Form.Homephone,'Home Phone',returnValue);
returnValue = checkEmail(Form.Email,'E-mail Address',returnValue);


return returnValue;
}
</script>


Affiliate support ignores me, so any assistance will be appreciated.

RonT

A1ien51
10-01-2006, 08:13 AM
That little triagle means you have an erro in your code. Click on thetriangle and it should give you a line number. If you really want to see the Error, get Firefox and install the Firebug Extension.

Eric