I know it is because the _date on the end is some type of reserved name for
form fields, but I've never seen a definitive list of which ones are
reserved.  And who does the reserving of these?  Is it IIS?  Or ColdFusion?

Anyone have a link to this information?

Thanks,
Dan

-----Original Message-----
From: Bert Dawson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 8:44 AM
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.

Reply via email to