Reply to topic
<cfform> validation
MBMunday


Joined: 06 Apr 2004
Posts: 76
Location: Dallas/Fort Worth
Reply with quote
Does anyone know how to get the <cfform> validation to work on MX 6.1? I've researched and researched, looked at CF books and used examples, to no avail. The error message is not popping up when the validation fails.

I've seen where you are suppose to put the src in the <cfform> tag, but that doesn't seem to be working either.

Here's a brief example of my form:

<cfform name="test" action="result.cfm">

<cfinput type="text" name="Name" REQUIRED="Yes" MESSAGE="Please enter your name"><br>

<input type="submit" value="Submit">
</cfform>


Can anyone see what I'm doing wrong? CF is producing the Javascript correctly in the <head> tags, but it's not validating.

I have other forms setup to be validated on my action page using <cfif> tags, but that can be timely when you have a large form. I'm tyring to get the validation mentioned above working for short forms. Any help is greatly appreciated.

Thanks,

MB
Alan
HostMySite Marketing

Joined: 08 Mar 2004
Posts: 126
Reply with quote
I believe that you need to have a CFIDE mapping configured for your site in IIS for the validation part of cfform to work. If there is a specific site you would like this configured for on our servers simply email support@hostmysite.com or call us at 877-215-4678.

-Alan
MBMunday


Joined: 06 Apr 2004
Posts: 76
Location: Dallas/Fort Worth
Reply with quote
Thank you! It's working like a champ now!
<cfform> validation
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic