_date is a reserved name in ColdFusionIt allows for automatic form validation.See the section on server-side validation in the documentation there is a whole group if reserved form names used for this.
_date
_integer
_required
When these are appended to a form name, Cold Fusion tries to
...
cfinput type=Text name=holiday required=Yes value=#holiday#
cfinput type=Text name=holiday_date value=#holiday_date#
...
It does the oddest thing. THe action page returns an error
message. Form entries incomplete or invalid and returns the
date. I went back and commented out the
At 08:20 6/1/2004 -0700, you wrote:
_date is a reserved name in ColdFusionIt allows for automatic form
validation.See the section on server-side validation in the
documentation there is a whole group if reserved form names used for this.
_date
_integer
_required
Good stuff.Thanks.
[Todays
Because you have a form field with a name ending on _date.This will
give an error in cf4 or cf5 too.
Because of CF's built-in server side validation, form field names can't
end in _required, _date, _eurodate, _time, _float, _integer, _range (I
hope I didn't forget one).
-Original
4 matches
Mail list logo