Thanks much for this solution, it works fine.
However I am now encountering another error. *sigh*
<cfform action="EditEmployeeInfo.cfm" method="POST" enablecab="Yes">
<cfloop query="lookup">
<cfinput type="Text" name="emplid" value="#emplid#" required="No">
<cfinput type="Text" name="name" value="#name#" required="No">
<cfinput type="Text" name="deptid" value="#deptid#" required="No">
</cfloop>
</cfform>
I am trying to use that to display the form, dynamically created so that it
shows the records that the user previously selected one after the other.
At the end I want the user to be able to edit the fields and just click on
one submit button and send the information to my update page which would
update the database.
I am getting this error however:
-----
Error Diagnostic Information
CFInput
Duplicate name conflict in CFForm section.
The error occurred while processing an element with a general identifier of
(CFINPUT), occupying document position (24:1) to (24:66) in the template
file D:\inetpub\wwwroot\bpamoco\testform_action.cfm.
-----
How do I display the results of a query in ONE form dynamically, as rows of
formfields?
You can use
http://www.computersandcontrols.com/bpamoco/testform.cfm
to see the code in action, and the error.
use test /test to login if it asks you to, then go to testform.cfm again.
-Gel
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.