View Single Post
Old 10-06-2012, 10:58 PM   PM User | #4
Giantg52
New to the CF scene

 
Join Date: Oct 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Giantg52 is an unknown quantity at this point
Most likely I just didn't understand either of you, but neither of those worked.

@Xelawho, what do you mean by giving my form field an id? I tried putting a <span> around the form and giving it an id, but that did nothing. I also tried just using the ids of the individual text boxes, but that didn't work either.

@Phillip M, that simply didn't work. Not sure if I was supposed to add anything, I tried messing with it a little bit but didn't get it to work.

I'm going to put my XHTML code here in case if it makes any difference. Do note that I have multiple fields, if that make any difference.

Code:
<form id="mailingList" action="subscribe.html" method="post" onsubmit="return validateForm()">
<p class="maintext">
First Name: <input type="text" name="fname" value="" size="20" /><br />
Last Name: <input type="text" name="lname" value="" size="20" /><br />
E-mail Address: <input type="text" name="email" value="" size="30" /><br />
Age: <input type="text" name="age" value="" size="2" maxlength="3" /><br />
Sex: <select name="sex"><option value="male">Male</option><option value="female" />Female</option></select><br /><br />
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</p>
</form>
Giantg52 is offline   Reply With Quote