Ok here's the code. 

<cfform action="#script_name#?action=domains.default" method="POST"
name="domainform">
</cfoutput>
<cfoutput>
<input type="hidden" name="action" value="domains.default">
<fieldset><legend class="defaultWhite"><strong>Search
Criteria</strong></legend>
<table  border="0" cellspacing="0" cellpadding="4">
        <tr>
                <td CLASS="defaultWhite">Search by Domain
Name</td><td><input name="domainSearch" size="20" class="defaultBlack"
value="#domainSearch#"></TD>
                <td CLASS="defaultWhite">Search by Company
Name</td><td><input name="companySearch" size="20" class="defaultBlack"
value="#companySearch#"></TD>
                <td class="defaultWhite">Show Cancelled Domains </td><td
class="defaultWhite"><input type="radio" name="showcancelled" value="1"
#IIF(showcancelled,DE('checked'),DE(''))#> yes <input type="radio"
name="showcancelled" value="0" #IIF(showcancelled,DE(''),DE('checked'))#>
No</td>
                
        </tr>
        <tr>
                <TD colspan="2" CLASS="defaultWhite">Show domains that will
expire in the next <input type="text" name="expireMonths" size="2"
maxlength="3" value="#expireMonths#"> months</TD>
                <TD></td>
        </tr>
        <tr><td colspan="6" align="right"><input type="image" name="search"
src="images/icons/go.gif" alt="Search"></td></tr>
</table>
</fieldset>
</cfoutput>
<br>


<div  class="datatable">
<table  border="0" cellspacing="0" cellpadding="3" width="100%">
                <tr>
                        <tags:recordBrowser mode="sortcolumn"
formName="domainform" columnName="domainName" columnText="Domain Name"
class="datacellHead">
                        <tags:recordBrowser mode="sortcolumn"
formName="domainform" columnName="company" columnText="Company"
class="datacellHead">
                        <tags:recordBrowser mode="sortcolumn"
formName="domainform" columnName="expdate" columnText="Expiry Date"
class="datacellHead">
                        <tags:recordBrowser mode="sortcolumn"
formName="domainform" columnName="DateDiff(m, GetDate(), expDate)"
columnText="Months till expired" class="datacellHead">
                        <tags:recordBrowser mode="sortcolumn"
formName="domainform" columnName="renew" columnText="Auto Renew"
class="datacellHead">
                        <tags:recordBrowser mode="sortcolumn"
formName="domainform" columnName="domains.cancelled" columnText="Status"
class="datacellHead">
                        
                </tr>
                <cfif getrecords.recordcount GT 0>
                <cfoutput query="getrecords" startrow="#startrow#"
maxrows="#maxrows#">
                <TR style="cursor:hand" class="datarow" height ="20"
onMouseover="this.className='dataMouseover'"
onMouseout="this.className='datarow'"
ONCLICK="popup('popup.cfm?action=domains.EditDomain&primaryKEY=#domainID#','
domainEdit')">
                        <td ID="datacell">#domainName#</td>
                        <td ID="datacell">#company#</td>
                        <td ID="datacell">#Dateformat(expDate,'dd mmm
yyyy')#</td>
                        <td ID="datacell">#expires#</td>
                        <td ID="datacell"><cfif renew is 0><img
src="images/icons/x_16x16.gif" height="16" width="16" border="0"><cfelseif
renew is 1><img src="images/icons/tick_16x16.gif" height="16" width="16"
border="0"><cfelse>?</cfif></td>
                        <td ID="datacell"><cfif cancelled is 1><img
src="images/icons/x_16x16.gif" height="16" width="16" border="0"><cfelseif
cancelled is 0><img src="images/icons/tick_16x16.gif" height="16" width="16"
border="0"><cfelse>?</cfif></td>
                        
                </tr>
                </cfoutput>
                <cfelse>
                <TR style="cursor:hand" class="datarow" height ="20">
                        <td ID="datacell" colspan="6">No Records Found</td>

                        
                        
                </tr>
                </cfif>

</table>
<table  border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
        <td><tags:RecordBrowser mode="buttons" query="getrecords"
class="defaultBlack"></td>
</tr>
<tr>
        <td align="right"><input type="button" value="Add New"
class="buttonNormal" ID="AddNew"
onclick="location.href='index.cfm?action=domains.AddDomain'"></td>
</tr>
</table>
</div>
</cfform> 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 10 August 2005 21:26
To: CF-Talk
Subject: RE: CFFORM error

Russ,

I'm guessing some other tag is missing a closing tag or some other syntax
error.  Can you post your code?

Dave

-----Original Message-----
From: Russ Michaels [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005 4:24 PM
To: CF-Talk
Subject: CFFORM error


OK this is doing my head in, I am getting  this error.

Context validation error for tag cfform.  
The end tag </cfform> encoutered on line 117 at column 3 requires a matching
start tag.  

Which is rubbish.

I have 1 and only 1 CFFORM tag in my page  and it has both a starting and
closing tag.

So why the hell am I getting this error.


Russ







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214499
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