Title:
The code obj.value.length in _CF_hasValue function in cfform.js fails in IE 9 (maybe 10) on a textarea
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/UserError
Reporter/Name(from Bugbase): Jim Ward / Jim Ward (Jim Ward)
Created: 12/23/2014
Components: AJAX
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description: When using form validation on a textarea in IE9 it fails on the function _CF_hasValue on the line of code that says "if(obj.value.length==0) because the textarea does not have a value attribute in IE.
Steps to Reproduce: Create a form with a textarea and use form validation and try to validate the form in IE9. <cfform><cftextarea required="true"></cftextarea></cfform> then validate the form.
Actual Result: Receive the error: SCRIPT5007: Unable to get value of the property 'length': object is null or undefined
Expected Result: Proper form validation without the error.
Any Workarounds: None
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3914301
External Customer Info:
External Company:
External Customer Name: Yodeler
External Customer Email:
External Test Config: My Hardware and Environment details: Coldfusion 11, update 3. 64 bit on IIS 7.5 on Windows 2008 R2 64 bit.
Attachments:
Comments: