tracker issue : CF-4198099

select a category, or use search below
(searches all categories and all time range)

form.fieldnames list loses fields with name ending in "_date"

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Joel Grimes / Joel Grimes (Joel Grimes)

Created: 11/28/2016

Components: Core Runtime

Versions: 2016

Failure Type: Data Loss

Found In Build/Fixed In Build: CF2016_Update3 / 302356

Priority/Frequency: Critical / Most users will encounter

Locale/System: English / Windows 7

Vote Count: 1

Listed in the version 2016.0.04.302561 Issues Fixed doc
Problem Description:
form.fieldnames list does not contain any field that was named with _date at the end of the name

Steps to Reproduce:

<cfdump var="#form#" />
<form action="index.cfm" method="post" enctype="multipart/form-data">
	<input type="text" name="test_date" value="" />
	<input type="text" name="name" value="" />

	<input type="submit" />

Actual Result:

Expected Result:

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4198099

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: Joel Grimes
External Customer Email:  
External Test Config: My Hardware and Environment details:


  1. November 29, 2016 00:00:00: 1_missingFieldNames.PNG
  2. November 30, 2016 00:00:00: 2_CF9_enctypeset.PNG
  3. November 30, 2016 00:00:00: 3_CF9_EnctypeNOTSet.PNG
  4. November 30, 2016 00:00:00: 4_CF2016_enctypeset.PNG


This appears to be new to update 3
Comment by External U.
1436 | November 28, 2016 11:33:11 AM GMT
Joel, I have tried verifying it on multiple versions of ColdFusion and the behavior is same across all versions. Has it ever worked for you? If yes, then what was the CF 2016 update it was working on? Thanks, Nimit
Comment by Nimit S.
1437 | November 29, 2016 07:17:24 AM GMT
You'll need to use application.cfc and add this to it: this.serverSideFormValidation=“false”; I don't think it documented anywhere on any official Adobe 9+ documentation. More info at:
Comment by External U.
1438 | November 29, 2016 11:01:14 AM GMT
Nimit please add enctype="multipart/form-data" to the form tag. I failed to include that in my code sample. In CF9 and CF 2016 Update 1 WITHOUT enctype: form fields disappear from form.fieldnames WITH enctype: form fields DO NOT disappear from form.fieldnames In CF 2016 Update 3 REGARDLESS of encoding type: form fields disappear from form.fieldnames Adding this.serverSideFormValidation="false" to the application.cfc DOES prevent the behavior, but some legacy parts of our application still rely on that validation.
Comment by External U.
1439 | November 29, 2016 06:22:41 PM GMT
Also Nimit, please see the 3 screen shots demonstrating the issue.
Comment by External U.
1440 | November 29, 2016 06:23:23 PM GMT
Thanks Joel for providing detailed information. I am able to repro this issue now. We will investigate and get it fixed.
Comment by Nimit S.
1441 | November 29, 2016 09:37:34 PM GMT
This setting is noted on:
Comment by James M.
1442 | January 08, 2017 05:17:30 PM GMT
As part of this fix, we updated the default value for serverSideFormValidation, changing it from TRUE to FALSE. serverSideFormValidation was wrongly set to FALSE in HF3. This fix is only applicable when enctype="multipart/form-data".
Comment by Immanuel N.
1443 | May 23, 2017 08:36:31 AM GMT