Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-16-2008, 12:59 PM   #1 (permalink)
 
Newb Techie

Join Date: Jul 2008

Posts: 30

Rex100 is on a distinguished road

Default Form coding for mising id

A form I was using was altered by dreamweaver and for some reason has no id. Now i'm getting the error
"Associate form controls with <label> tags using the 'id' attribute."
How do I put the label and id back into this code?

<form action="/google-search-results/" id="cse-search-box" class="searchbox">
129 Search The Internet
131 <input type="hidden" name="cx" value="partner-pub-..............." />
133 <input type="hidden" name="cof" value="FORID:11" />
134 <input type="hidden" name="ie" value="UTF-8" />
135 <input class="searchboxtext" type="text" name="q" />
136 <img id="googleimg" src="http://www.actualcures.com/loggo.gif" alt="Google" />
137 <div class="submitbutton">
137 <input name="sa" value="X" type="submit" />
137 </div>
138 <div class="clearfix">
138 </div>
139 </form>

Thanks,

Roscoe
Rex100 is offline  
Old 07-16-2008, 07:45 PM   #2 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,690

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Form coding for mising id

Code:
<form action="/google-search-results/" id="cse-search-box" class="searchbox">
Search The Internet
<input type="hidden" name="cx" value="partner-pub-..............." />
<input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="ie" value="UTF-8" />
<label for="searchboxtext">Searchbox Text</label> <input class="searchboxtext" type="text" name="q" id="searchboxtext" />
<img id="googleimg" src="http://www.actualcures.com/loggo.gif" alt="Google" />
<div class="submitbutton">
<input name="sa" value="X" type="submit" />
</div>
<div class="clearfix">
</div>
</form>
Maybe this? I dunno...
__________________

Need website help? PM me!
CrazeD is offline  
Old 07-18-2008, 01:51 AM   #3 (permalink)
 
Newb Techie

Join Date: Jul 2008

Posts: 30

Rex100 is on a distinguished road

Default Re: Form coding for mising id

Thanks for the help.
Rex100 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript form cyrax Web Graphics, Design, Digital Images 1 02-03-2008 09:36 PM
Need PHP and JavaScript Form Validation Scripts aetherh4cker Programming Discussions 2 01-06-2008 04:16 PM
HTML E-Mail Form (Outlook issue) Tempest Programming Discussions 2 11-24-2007 02:54 PM
Need a contact form brand Browser & General Internet Questions 4 07-18-2007 09:50 PM
Help with contact form for my website beton Windows Operating Systems and Software 2 05-12-2007 06:40 AM