Set one tag of your select statement to something like Choose One and then
check t see if that value shows up.

Larry

-----Original Message-----
From: Ang�l Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 7:01 AM
To: [EMAIL PROTECTED]
Subject: Using Select Tags in optional Form Submissions


Hello!

I have a form, with four text boxes and a select box that is pulling data
from a Department Table to get available departments and their Department
IDs.

Now, the user can eitehr enter an Employee Name, ID, or select a department.
However, on the next page I have several <CFIF IsDefined....> tags to check
which field has a value in it, so that I know what to build the query on.

It's one or the other, they can't enter a Name, and an ID...AND a department
(wouldn't make sense to do that anyways heh heh).

But...for some reason the Department is always carried forward,even if the
user makes no selection.

I need to do this same thing on a couple other forms. Is it impossible to
use a Select box in this way?
Is a value ALWAYS sent when the user clicks submit, even if the user never
made a selection from the box?

I require a way around this, or some other way to simulate a combo box :-\
help help.
*waves arms frantically*

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


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to