Doh!  :-P

I found it...just take out the suffix '.cfm' from the 'name' paramater of
your cfform tag.

So:  <cfform name="ci_add_form" action="ci_add_action.cfm" method="post">

It then worked for me.

Mike

-----Original Message-----
From: Rosa, Issac [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 9:56 AM
To: CF-Talk
Subject: Re: Client-Side Validation Not Displaying Message


I am using <cfinput> for the textbox.

<cfinput type="text"
                                NAME="content_item1"
                                SIZE="40"
                                MAXLENGTH="50"
                                REQUIRED="Yes"
                                MESSAGE="Please enter a Content Item!">

If you have any questions or concerns, please feel free to call me at
407-514-5021.

Thank you,

> Issac Rosa
> 
> IT - National Sales & Marketing
> OLAP Specialist Team Leader
> Ofc: 407-514-5021
> Cell: 407-342-0644
> Fax: 407-514-5988
> [EMAIL PROTECTED]


-----Original Message-----
From: Doyle, Mike [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 9:41 AM
To: CF-Talk
Subject: RE: Client-Side Validation Not Displaying Message


I believe you must use <cfinput> in order to utilize the built-in validation
scripts generated by CF.

Mike
"Outside of a dog, a book is man's best friend.  Inside of a dog it is too
dark to read."  -Groucho Marx

-----Original Message-----
From: Rosa, Issac [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 9:36 AM
To: CF-Talk
Subject: Client-Side Validation Not Displaying Message


I have a form with a Required Text Box using CFFORM.  Can someone tell me
why I'm processing the action form instead of getting an error from the
client-side script that is being generated when I submit a blank text box?
Any help would be greatly appreciated.

<cfform name="ci_add_form.cfm" action="ci_add_action.cfm" method="post">
<table border="0">
        <cfoutput>
        <input type="hidden" name="id_subweb" value="#url.id_subweb#">
        </cfoutput>
        <input type="hidden" name="website_id" value="MWP">
<TR>
        <td class="smallblack"><img src="../images/rightarrow.gif"
align="texttop" width="15"                      height="15"><font
class="tinyred">*</font>Content&nbsp;Item:&nbsp;</TD>
        <td align="left"><cfinput type="text"
                                NAME="content_item1"
                                SIZE="40"
                                MAXLENGTH="50"
                                REQUIRED="Yes"
                                MESSAGE="Please enter a Content Item!"></td>
</TR>
<tr>
        <td align="center" colspan="2" height="35" valign="bottom">
        <input type="submit" name="Submit" value="Update"></td>
</tr>
<tr>
        <td><font class="tinyred">* At Least One Entry Is
Required</font></td>
</tr>
</cfform>
</table>

If you have any questions or concerns, please feel free to call me at
407-514-5021.

Thank you,

> Issac Rosa
> 
> IT - National Sales & Marketing
> OLAP Specialist Team Leader
> Ofc: 407-514-5021
> Cell: 407-342-0644
> Fax: 407-514-5988
> [EMAIL PROTECTED]
> 
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to