funny how I've never encountered this before! bugger.
this makes allowing users to call form fields what they like slightly more complicated. arse twigs. I don't suppose there's any way to turn it off? I guess I could just append some soet of constant string to the end of each input name and then strip it off as and when required. I hate all this holding-your-hand sort of stuff. I thought CFML had grown up. Should be able to override it. Thanks Duncan. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 01 April 2003 11:56 > To: [EMAIL PROTECTED] > Subject: Re: [ cf-dev ] form input names acting wierdly in MX > > > > this is built into CF since about version 4.0. Check Forta > blue book for > details. basically on form fields, if the name is: > > x_date > x_eurodate > x_float > x_integer > x_range > x_required > x_time > > then it gets server-side validated. whether it's cfform or > form shouldn't > make any difference, as that just affects if there is client-side > validation embedded in the case of the cfform. > > > Duncan Cumming > IT Manager > > http://www.alienationdesign.co.uk > mailto:[EMAIL PROTECTED] > Tel: 0141 575 9700 > Fax: 0141 575 9600 > > Creative solutions in a technical world > > ---------------------------------------------------------------------- > Get your domain names online from: > http://www.alienationdomains.co.uk > Reseller options available! > ---------------------------------------------------------------------- > ---------------------------------------------------------------------- > > > > > Rich Wild > > <[EMAIL PROTECTED] To: > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > go.com> cc: > > Subject: [ > cf-dev ] form input names acting wierdly in MX > 01/04/2003 > > 11:42 > > Please > > respond to > > dev > > > > > > > > > Hmm, strange one this. > > I'm building a form builder app. > > When the form is output and filled in and submitted, if any > form item is > called anything ending in '_required' then CFMX seems to > perform some sort > of server side validation on it and returns an error message > saying that > the > field wasn't completed - even when it is!!!! > > I'm not using cfform - just <form> > > You can test it by creating a template called test.cfm and > inserting the > following: > > <cfif isDefined("form.testvalue")> > <cfdump var="#form#"> > </cfif> > > <form name="testform" method="post" action="test.cfm"> > <input type="hidden" name="testvalue" value="1"> > <input type="hidden" name="date_required" value="uiyuiyuiyiyuiy"> > <input type="submit"> > </form> > > Oddness, and very much unwelcome. > > ------------------------------------------------------- > Rich Wild > Senior Web Developer > > ------------------------------------------------------- > e-mango Tel: 01202 755 300 > Gild House Fax: 01202 755 301 > 74 Norwich Avenue West > Bournemouth Mailto:[EMAIL PROTECTED] > BH2 6AW, UK http://www.e-mango.com > ------------------------------------------------------- > This message may contain information which is legally > privileged and/or confidential. If you are not the > intended recipient, you are hereby notified that any > unauthorised disclosure, copying, distribution or use > of this information is strictly prohibited. Such > notification notwithstanding, any comments, opinions, > information or conclusions expressed in this message > are those of the originator, not of e-mango.com ltd, > unless otherwise explicitly and independently indicated > by an authorised representative of e-mango.com ltd. > ------------------------------------------------------- > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
