There is a problem with the code that /packages/formtools/list.cfc produces in the edit function (starting line 158).
This applies to all list types but for example if you create a list of checkboxes, the code at line 212 results in every checkbox having the same ID.
<input type="checkbox" name="#arguments.fieldname#" class="checkboxInput #IIF(listLen(lData) eq tmpCount ,DE(" #arguments.stMetadata.ftClass#"),DE(""))#" id="#arguments.fieldname#" value="#optionValue#"<cfif listFindNoCase(arguments.stMetadata.value, optionValue)> checked="checked"</cfif> />
This creates invalid HTML code.
Having had a very quick look around …
Only applies to radio buttons and checkboxes, not dropdowns.
I look forward to hearing what the others say about this.
I’ll patch this shortly.
Excellent. Thanks Justin!