tracker issue : CF-3490441

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

Using the word "required" with a leading underscore in the name attribute of a cfinput field

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

Reporter/Name(from Bugbase): Timothy Moriarity / Timothy Moriarity (TNM)

Created: 01/27/2013

Components: CFForm, HTML

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win All

Vote Count: 0

Problem Description:
Using the word "required" with a leading underscore in the name attribute of a cfinput field invokes cfinput required property on action page.

Steps to Reproduce:
create cfform as so:
<cfform action="form_bug.cfm" method="post" preloader="no">
<cfinput type="hidden" name="photos_required" value="1" />
<cfinput type="submit" name="">
</cfform>

Have the form post to itself of any other CF page

Actual Result:
Action page displays the following output:

Form entries are incomplete or invalid.
1
Go back and correct the problem.

Expected Result:
Whatever action was intended for form information

Any Workarounds:
Rename "name" attribute to anything without "_required" in the name.

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

Watson Bug ID:	3490441

External Customer Info:
External Company:  
External Customer Name: TNM
External Customer Email:  
External Test Config: My Hardware and Environment details: tested with CF Versions 10,0,4,283281 and 9,0,1,274733 on windows with IIS 7.

Attachments:

Comments:

This is not a bug, it is "by design": http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7a7b.html And it can be switched off: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-750b.html -- Adam
Comment by External U.
16496 | January 28, 2013 03:41:41 AM GMT
Thanks for the information Adam. Take Care.
Comment by External U.
16497 | February 04, 2013 02:20:00 PM GMT