Looks like a javascript solution is needed.  I would create a hidden field,
say "x", and make the select box do an on-change event call function "y",
passing in the value of yourselectbox.selectedIndex.  You then (in the
javascript function "y") test to see if x.value and
yourselectbox.selectedIndex are the same.  If they are already the same,
change yourselectbox.selectedIndex to '0'...  If not, then update the hidden
field x.value = yourselectbox.selectedIndex.

You might not be able to do this with cfselect box though, I'm not sure...

Dave

-----Original Message-----
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 9:46 AM
To: CF-Talk
Subject: RE: Second Post CFSELECT Problems


Does anybody have any advice?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED]



-----Original Message-----
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
Sent: Monday, March 18, 2002 10:07 AM
To: CF-Talk
Subject: CFSELECT Problems


I have a CFSELECT statement and I want have the user click on and if they
change there mind be able to click off the value with out having to hit like
a clear or reset button. Is there anyway in CF 4.5 to use a value like
value="".

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED]



______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to