Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-27-2002, 07:52 PM forms question
Junior Talker

Posts: 2
Location: USA
Trades: 0
I have a form on a page that extends thru multiple table cells, (ie. they are not all in the same <td> or even <tr>). It works fine in IE5.5, but is there something wrong with this method? W3's HTML Tidy program put the </form> tag in the original cell and caused the form to stop working.

Your help would be much appreciated!

Thanks
dsainternet is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-27-2002, 09:00 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
Would help to post the code
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 08-27-2002, 09:09 PM
Junior Talker

Posts: 2
Location: USA
Trades: 0
I know the code works for me, I don't know if it's supposed to be bad practice or something... Here's an example:

<TABLE border="0" cellspacing="0" cellpadding="0" width="700">
<TR>
<TD>
<TABLE border="1" cellpadding="10" cellspacing="0">
<TR>
<TD><IMG src="Images/A110.jpg"></TD>
<TD>
<TABLE border="0" cellpadding="0" cellspacing="5">
<TR>
<TD colspan="2">
<FORM method="post" action="http://www.---.com/cgi-bin/bbpro/basket.pl"><B><FONT size="2" face="arial">Sling Shot<BR>
</FONT></B>
</TD>
</TR>

<TR>
<TD><INPUT type="hidden" name="itemNum" value="A10"> <INPUT type="hidden" name="itemName" value="Alba - Sling Shot"> <INPUT type="hidden" name="itemRedir" value="http://www.---.com/alba.htm"> <INPUT type="hidden" name="itemPic" value="http://www.---.com/Images/A110.jpg"> <INPUT type="hidden" name="itemShip" alue="2.00"> <INPUT type="hidden" name="itemWeight" value="4"> <INPUT type="hidden" name="taxable" value="true"> <FONT size="2" face="arial">Size:</FONT></TD>
<TD><SELECT name="itemPrice" size="1">
<OPTION selected>------ Please Select ------</OPTION>
<OPTION value="1000.00">17x8 Chrome - $1,000</OPTION>
<OPTION value="1500.00">20x8.5 Chrome - $1,500</OPTION>
<OPTION value="2000.00">22x9.5 Chrome - $2,000</OPTION>
</SELECT></TD>
</TR>

<TR>
<TD><FONT size="2" face="arial">Offset:</FONT></TD>
<TD><SELECT name="custom1">
<OPTION selected>------ Please Select ------</OPTION>
<OPTION value="RWD">RWD</OPTION>
</SELECT></TD>
</TR>

<TR>
<TD colspan="2"><FONT size="2" face="arial">Construction: <FONT size="2" face="arial"><I>1-Piece Aluminun</I><BR>
<B>17x8, 20x8.5, 22x9.5</B></FONT></FONT></TD>
</TR>

<TR>
<TD colspan="2"><INPUT type="submit" value="Add to Cart"></form> </TD>
</TR>
</TABLE>1
dsainternet is offline
Reply With Quote
View Public Profile
 
Old 08-28-2002, 02:45 AM
AhmedF's Avatar
Left for Better Places

Posts: 258
Trades: 0
One thing .. encase your table INSIDE the form ...
AhmedF is offline
Reply With Quote
View Public Profile
 
Old 09-01-2002, 02:37 AM
Novice Talker

Posts: 7
Trades: 0
Yep!
You do it this way:
Put -
<FORM method="post" action="http://www.---.com/cgi-bin/bbpro/basket.pl">
above
<TABLE border="0" cellspacing="0" cellpadding="0" width="700">
and then be sure you close the form outside the table like this:
</TABLE></FORM>
(Be sure to delete the matching code from their original spots within the table.)
That should do it!
babbsela is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to forms question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15677 seconds with 12 queries