Gel,
If you use checkboxes (which is the best way BTW) they will be passed to the
next page upon form submission as a comma separated list, which is perfect
for CF, since this is a standard CF List Format...
SO, what you will do is query your database of employees with some code like
the
Ok, I think you are asking a bit much as you haven't posted any code to
indicate what you are trying yourself, but I'll give you a helping hand as
I'm sure I did the same when I started coding!
!---First do a query to get all the employees names and ID's---
CFQUERY DATASOURCE="MyDSN"
Hey Gel..
G morning to you all :)
Afternoon ;o)
He wants to click a checkbox / radio button to select say..20
employees that
she wants to edit.
(This can be anything else beside a checkbox..doesn't matter)
You need to use checkboxes.
I need a way to then pull the Employee ID for these
At 11:08 AM 7/5/00 -0400, you wrote:
Hi folkses!
G morning to you all :)
A client wants me to return a list of Employees by Department, which may
result in about 100 or so rows in a simple table.
He wants to click a checkbox / radio button to select say..20 employees that
she wants to edit.
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"
I really liked how the user had a sex change
mid-sentence, by the way.
You had me laughing out loud here as I read this.
;-P
Thanks for the reply!
=)
hee hee
-Gel
Original Message -
From: Jennifer [EMAIL PROTECTED]
Oh, and I just read Top-Link Tech (John Ceci)'s message and I
To create the form page, and inside the FORM tages, simply loop through each
employee returned from your query to create a separate line for each one.
In side the LOOP for each query line returned, include either a checkbox,
radio button, or a SELECT list by which the user can "select" an
7 matches
Mail list logo