Will... what is your desired display within the TD element... how do you
want it to display and still validate?

-----Original Message-----
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 13, 2005 6:08 AM
To: CF-Talk
Subject: Making my form not screw up my table, yet validate?

This is in Firebox. If I try to place a form inside a td, it messes up
the formatting a bit. There's extra padding below and it throws things
off. 

<td width="488" align="center">
        <cfform action="search.cfm" method="post" id="searchform">
                <cfinput name="search" type="text" size="15"
maxlength="20" onfocus="this.value=''" value="enter search term"
required="yes" message="Please enter a search term" />          
                      <input name="submit" type="submit" value="search"
class="buttons" />
    </cfform> 
   </td>

But if I place the cfforms above and below the td's like usual to fix
formatting, it looks right, but doesn't validate. It says "discarding an
unexpected form tag". 

<cfform action="search.cfm" method="post" id="searchform">
   <td width="488" align="center">      
                <cfinput name="search" type="text" size="15"
maxlength="20" onfocus="this.value=''" value="enter search term"
required="yes" message="Please enter a search term" />          
                      <input name="submit" type="submit" value="search"
class="buttons" />
   </td>
</cfform> 

Anyone else run into this? Maybe have an idea?

Thanks,
0-->Will<--O







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198583
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to