This is a feature from older versions of CF:
Any field with an ending of "_date" gets validated by CF, check the
documentation there's some other extensions like "_int" and a few others.
Just avoid that naming scheme...
HTH,
Noam
----------
From: Bert Dawson [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, 08 August 2000 17:44
To: '[EMAIL PROTECTED]'
Subject: form field not being scoped as attributes variable
I've got a form with a field NAME="trk_published_date", but when i
submit
the form, the attributes.trk_published_date variable is not being
created.
It is fine if i rename the field to trk_published_dat, or
trk_published_datee, or i can create the variable myself from the
form.trk_published_date.
Am I missing something obvious?
Can anyone else reproduce this (see below for the code)?
Anyone come across anything like this before?
<!--- start of index.cfm --->
<cf_formURL2attributes>
<FORM ACTION="index.cfm" METHOD="post">
<INPUT TYPE="Text" NAME="trk_published_date"
VALUE="trk_published_date"><BR>
<INPUT TYPE="Text" NAME="trk_published_dat"
VALUE="trk_published_dat"><BR>
<INPUT TYPE="Text" NAME="trk_published_datee"
VALUE="trk_published_datee"><BR>
<INPUT TYPE="submit" NAME="button">
</FORM>
<CFIF IsDefined('attributes.button')>
<CFOUTPUT>
trk_published_dat = #attributes.trk_published_dat#<BR>
trk_published_datee = #attributes.trk_published_datee#<BR>
<CFIF IsDefined('attributes.trk_published_date')>
is defined: #attributes.trk_published_date#. <BR>
This never happens on my server - what is going on? <BR>
Bert<BR>
<CFELSE>
WHY IS trk_published_date NOT DEFINED ?????<BR>
<CFSET attributes.trk_published_date =
form.trk_published_date>
#attributes.trk_published_date#
</CFIF>
</CFOUTPUT>
</CFIF>
<!--- end of index.cfm --->
Bert Dawson
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.