0
New Here
,
/t5/coldfusion-discussions/why-i-cannot-update/td-p/15247553
Apr 02, 2025
Apr 02, 2025
Copy link to clipboard
Copied
In the MemberUpdateForm.cfm, I have the following
......
<cfFORM ACTION="MemberUpdateActionPage.cfm" METHOD="Post">
...........
<table border="1" height="350">
.....
....
<P>
<INPUT TYPE="text" Name="MembersID" size="15" maxlength="50" required="yes"
VALUE="<CFOUTPUT QUERY="MemberRecord">#MembersID#</CFOUTPUT>">
</P>
<P>
<b>My handle name is</b><INPUT TYPE="Text" Name="HandleName" size="15" maxlength="50" required="yes" disabled="disabled"
VALUE="<CFOUTPUT QUERY="MemberRecord">#HandleName#</CFOUTPUT>">
</P>
<P>
<INPUT TYPE="submit" NAME="SUBMIT" VALUE="Submit Data">
<INPUT TYPE="reset" NAME="Clear" VALUE="Clear Form">
</P>
<br>
</center>
</cfform>
In the MemberUpdateActionPage.cfm page, I have the following
...........
<CFQUERY NAME="MemberRecordUpdate" DATASOURCE="Contact">
UPDATE Members
SET HandleName='#Form.HandleName#'
WHERE MembersID=#Form.MembersID#
</CFQUERY>
When I submit the form, I have this error from the log
"Error","http-nio-8500-exec-5","04/02/25","21:12:03","","Element HANDLENAME is undefined in FORM. The specific sequence of files included or processed is: C:\ColdFusion2025\cfusion\wwwroot\CFIDE\Club\AAE\membership\us\MemberUpdateActionPage.cfm, line: 36"
Can someone see what wrong with my HandleName?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Apr 03, 2025
Apr 03, 2025
The HandleName field has attribute
disabled="disabled"
The disabled <input> elements of a form are not submitted.
Community Expert
,
LATEST
/t5/coldfusion-discussions/why-i-cannot-update/m-p/15247900#M200608
Apr 03, 2025
Apr 03, 2025
Copy link to clipboard
Copied
The HandleName field has attribute
disabled="disabled"
The disabled <input> elements of a form are not submitted.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

