Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit button showing at top of page instead of bottom

Status
Not open for further replies.

selaine

Programmer
Oct 11, 2001
85
US
Does anyone know why my submit button is showing up at the top of my page, instead of after the form? I'm sure it's the order. I may need to imbed the submit button into vbscript, but not sure how to do it. Here is the part of the code that would affect things. Thanks everyone!!

<table width=&quot;500&quot;>
<form action=&quot;info2.asp&quot; method=&quot;get&quot;>
<tr>
<td width=&quot;500&quot; align=&quot;center&quot;>

<% 'Request the name of Category and the primary key from the tblCategory table.
SQLCK=&quot;SELECT Category, CategoryID FROM tblCategory&quot;
set connck = server.createobject(&quot;ADODB.Connection&quot;)
connck.open &quot;Checkboxes&quot;
set tblCategory=connck.execute(SQLCK)
%>


<% 'Loop through the recordset to make each entry in the list. %>
<% do while not tblCategory.eof %>
<tr>
<td><font face=&quot;Arial,Helvetica&quot; size=-1><%= tblCategory.Fields(&quot;Category&quot;).Value %></font></td>
<td><input type=&quot;checkbox&quot; name=&quot;<%=tblCategory.Fields(&quot;CategoryID&quot;).Value %> value=&quot;-1&quot;></td>
<% '<td> %>
<%' =tblCategory.Fields(&quot;CategoryID&quot;).Value %>
<%' </td> %>
</tr>

<%tblCategory.movenext
loop%>

<% connck.close %>

<p><input type=&quot;Submit&quot; value=&quot;Proceed with Registration&quot; align=&quot;LEFT&quot;>
 
try:
[red]</table>[/red]
<p><input type=&quot;Submit&quot; value=&quot;Proceed with Registration&quot; align=&quot;LEFT&quot;>

-pete
 
That worked perfectly - Thanks! It's absolutely amazing how such a simple thing can solve what seems like a complex problem! Duh!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top