Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

why I cannot update?

New Here ,
Apr 02, 2025 Apr 02, 2025

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?
128
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 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.

Translate
Community Expert ,
Apr 03, 2025 Apr 03, 2025
LATEST

The HandleName field has attribute

disabled="disabled"

The disabled <input> elements of a form are not submitted.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources