There won't usually be just one item.  More likely hundreds...
This was just a single item of the type in the database for testing.

Setting the first option to "Select Client for Details" solved the problem.

Too much coffee to think, I guess...  ;o)

Rick


-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 10:33 PM
To: CF-Talk
Subject: RE: How to cause onChange=submit(), if there's only one Select
item?


maybe this is a silly question, but if there will
only be one choice, why not make it a radio button
or something that is already selected, or simply make
it a hidden field with the value already there?

tony

-----Original Message-----
From: brook [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 10:44 PM
To: CF-Talk
Subject: Re: How to cause onChange=submit(), if there's only one Select
item?


I can't see why you would want that. What about putting "---- select
----"
as the first option, so they have to select a valid selection before it
changes.

At 10:23 PM 12/18/02 -0500, you wrote:
>Hi, all.
>
>I set up a Select menu with onChange=submit(), then tried it
>with one item and realized when that same item is selected,
>there's no change, hence, no submit...
>
>Is there a onSelect=submit()????  Or something else?
>
>Rick
>
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to