Steven,

Why don't you use the built in validation for a CFFORM?  It can validate Email 
etc, BEFORE submitting, that way your action page can basically send the 
comments to the webmaster and display the thank you as well.

As for blocking spammers, check out:  http://cfformprotect.riaforge.org/

Of course there are lots of ways to protect yourself from spammers.  As for 
protecting yourself from sql injection, well cfqueryparam is the way to go 
there.

HTH,

Rob

> I just cannot seem to wrap my head around creating a simple CF 
> feedback form. I've got the front-end side with the correct form 
> fields, but when it comes to the action file, I always mess it up. All 
> I want is a form that will validate that someone typed their name, a 
> valid email address and some comment. I want to be able to direct them 
> back to the form if they didn't enter their information properly, and 
> to a thank you page if they did. I'm looking for it to block spammers 
> somehow with the validation and make it so that they can't enter code 
> into any of the fields. I want their comments to be mailed to a 
> Webmaster.
> 
> Can anyone help explain the entire process to me? I have books upon 
> books, but never seem to do this properly. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to