> One of our developers here just encountered a situation 
> today where he was using "_date" in a text field name 
> but had no hidden fields as mentioned that you would 
> expect to trigger the server-side validation. Nontheless, 
> the error message was thrown suggesting server-side
> validation had taken place.
> 
> I've not had time to dig into the issue yet but something 
> odd is definitely happening.

That's not odd - it's expected behavior. It doesn't matter whether you use
it in a hidden field or any other field. From the server's perspective,
there's no difference - it just gets a bunch of form fields back, and can't
tell how they were defined in the original HTML form. In fact, you could
have the "_date" field in your form without having any other field, and CF
will still treat it as a validation rule.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to