Dave,
Thanks for the help, but that is not quite what I am asking for. My problem
arises when I try to figure out what elements were selected after I submit
the form. Here is the situation. I have one of those forms where you have
to select multiple "interests". The value for each option is the primary
key for the interest in the database. I need to know every value that is
selected so that I can put it in the database with multiple insert
statements.
Thanks,
Brandon Behrens
Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com
-----Original Message-----
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Select Box Troubles
This puts the selected value at the top. Put it at it's proper place in the
list
with CFIF's.
<SELECT NAME="blah" MULTIPLE>
<CFOUTPUT QUERY="someQuery">
<OPTION SELECTED VALUE="#output#">#output#
</CFOUTPUT>
<OPTION VALUE="1">1
<OPTION VALUE="2">2
<OPTION VALUE="3">3
<OPTION VALUE="4">4
</SELECT>
=================================
"What we need is a list of specific unknown problems we will encounter"
David Hannum
Web Analyst/Programmer
Ohio University
[EMAIL PROTECTED]
(740) 597-2524
----- Original Message -----
From: "Brandon Behrens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 24, 2000 3:53 PM
Subject: Multiple Select Box Troubles
Hello All,
I am having a bit of trouble with a multiple select box. Could someone
please tell me how I can get every element selected from a multiple select
box. I tried string functions and they didn't work. I tried array
functions and they didn't work. I think the value gets passed as a list but
I am not sure how to manipulate it.
Thanks in advance,
Brandon Behrens
[EMAIL PROTECTED]
----------------------------------------------------------------------------
--
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.
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.