Skip to main content
September 13, 2006
Question

tag handler setter onblur ERROR - No Idea

  • September 13, 2006
  • 3 replies
  • 561 views
Error Occurred While Processing Request
The tag handler input does not have a setter for the attribute onblur specified in the tld.


The error occurred in: line 18

16 : <tr>
17 : <td width="100%">
18 : <center><font face="Arial" size="2">Username:</font>
19 : <cfinput name="username" value="" required="yes" message="A username is required"></center></td>
20 : </tr>
--------------------------------------------------------------------------------
This topic has been closed for replies.

3 replies

Inspiring
September 19, 2006
you are using some sort of Web Development Kit (WDK), aren't you? that "tld" things sure looks like something from one of those...
those usually do not support the onBlur event, required for CF input validation.
Inspiring
September 17, 2006
Your cfform tag doesn't have a validateat attribute does it?
September 17, 2006
Here is my code:

<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="##111111" width="100%" height="100%">
<tr>
<td width="100%" align="center">
<table border="0" cellpadding="4" cellspacing="4" style="border-collapse: collapse" bordercolor="##111111" width="450">
<tr>
<td width="100%">
<p align="center"><font face="Arial" size="2"><img src="../images/logo2.jpg" width="304" height="94"><br>
<b>Administration System</b></font></td>
</tr>
<cfform name="form" action="index.cfm" method="post">
<tr>
<td width="100%">
<center><font face="Arial" size="2">Username:</font>
<cfinput type="text" name="user">
</center></td>
</tr>
<tr>
<td width="100%">
<center><font face="Arial" size="2">Password:</font>
<cfinput name="pass" type="password">
</center></td>
</tr>
<tr>
<td width="100%">
<p align="center"><font face="Arial">
<input type="Submit" value="Enter"></font></td>
</tr>
</cfform>
</table>
</td>
</tr>
</table>
</center>
</div>

Here is the error:

Error Occurred While Processing Request
The tag handler input does not have a setter for the attribute onblur specified in the tld.


The error occurred in \login.cfm: line 18

16 : <tr>
17 : <td width="100%">
18 : <center><font face="Arial" size="2">Username:</font>
19 : <cfinput type="text" name="user">
20 : </center></td>



--------------------------------------------------------------------------------

Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)
Remote Address
Referrer
Date/Time 17-Sep-06 12:51 AM

Stack Trace (click to expand)
Inspiring
September 17, 2006
Change line 19 to:

<cfinput type="text" name="username" id="username" required="yes" message="A username is required">

(added the type="text" and id="username" although you really just need to have the type defined)
September 17, 2006
That did not make a difference. Its wierd, I can have a form with the tag <cfform> </cfform> with all the fields <input> instead of <cfinput> and it pulls up without error. Just as soon as I put <cf...> in front of an <input> to create the <cfinput> tag, it creates this error. I have never had problems with this before until now.

Any suggestions?!?!