Thanks for the info, Dave.  I guess I've just not used the right (or wrong)
variable names to trigger that auto-validation.  I recall seeing it 
now...just never
made use of it, preferring to write my own.  But I'll look into it.  It 
may make
validation easier for many types of data.

Rick

Dave Watts wrote:
>>> I don't think that's exactly it. There are a bunch of automatic
>>> validation suffixes, like "_date" and "_time" which trigger built-in
>>> CF form validation. Typically, they're used by adding hidden form
>>> fields to your form, and naming those fields using the names of the
>>> fields to be validated and the appropriate validation suffix:
>>>
>>> <input type="text" name="firstname">
>>> <input type="hidden" name="firstname_required" value="You must enter a
>>> first name!">
>>>       
>> But I'm using <form...>, not <cfform...>.  Would that cause CF validation
>> to be triggered, as well?
>>     
>
> Yes. This built-in validation functionality predates the CFFORM tag.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:314757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to