tracker issue : CF-3971110

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

Stop cfform server side validation when not using cfform/cfinput.

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/Workaround

Reporter/Name(from Bugbase): Justin Treher / Justin Treher (Justin Treher)

Created: 04/16/2015

Components: CFForm

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Win All

Vote Count: 0

Problem Description:

Legacy issue with server side form validation still happening with form fields named in such a way that will trigger validation. This typically catches people with facebook form fields. However, the amount of wasted time in debugging this when you are just designing a form in the wild can be quite the headache. ColdFusion should not be firing up the validation engine unless one is in the context of a cfform and has submitted a cfinput. 

Steps to Reproduce:
<form method="post" >
	<input name="fb_sig" value="test" />
	<input name="fb_sig_time" value="" />

Actual Result:
<ul><li>The value entered for the FB_SIG field ('post') is not correctly formatted. </li></ul> Go <a href="javascript:history.back()">back</a> and correct the problem.
Expected Result:

Any Workarounds:

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

Watson Bug ID:	3971110

External Customer Info:
External Company:  
External Customer Name: Justin
External Customer Email:  
External Test Config: My Hardware and Environment details: CF 10 Update 15



This was originally reported by Ray a while ago and closed with "notEnoughTime." I'm just reopening.
Comment by External U.
7784 | April 16, 2015 10:18:20 AM GMT
Hi Justin, Have you tried setting serverSideFormValidation=false? Related URL: Thanks!, -Aaron
Comment by External U.
7785 | May 14, 2015 08:15:42 PM GMT
Please use the workaround suggested by Aaron. Closing this bug.
Comment by HariKrishna K.
7786 | June 05, 2015 12:27:27 AM GMT