RE: cf_TwoSelectsRelated initially selected values

2002-09-26 Thread Mark Stephenson - Evolution Internet

Just create a new attribute in the tag called selected...

psuedo
At the dropdown code, if selected defined, then selected is
attribute.selected
/psuedo

Not really into custom tags, but something along those lines should work??

Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]


WARNING:
---
The information contained in this document and attachments is confidential
and intended only for the person(s) named above.  If you are not the
intended recipient you are hereby notified that any disclosure, copying,
distribution, or any other use of the information is strictly prohibited.
If you have received this document by mistake, please notify the sender
immediately and destroy this document and attachments without making any
copy of any kind.

AVIS IMPORTANT:
---
Les informations contenues dans le present document et ses pieces jointes
sont strictement confidentielles et reservees a l'usage de la (des)
personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez
avise que toute divulgation, distribution, copie, ou autre utilisation de
ces informations est strictement prohibee.  Si vous avez recu ce document
par erreur, veuillez s'il vous plait communiquer immediatement avec
l'expediteur et detruire ce document sans en faire de copie sous quelque
forme.




-Original Message-
From: Kay Smoljak [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2002 15:55
To: CF-Talk
Subject: cf_TwoSelectsRelated  initially selected values


Hi all,

Does anyone know of a replacement for/hack of cf_TwoSelectsRelated that
will allow a value to be selected initially when the control loads?
Think of an administration record editing type situation. Is this the
kind of thing that qForms would be good for?

Thanks,
Kay.


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cf_TwoSelectsRelated initially selected values

2002-09-26 Thread Aaron Rouse

I personally prefer to use qForms for related boxes, but usually because my needs 
almost always go past what a something like TwoSelectsRelated can provide.  However, 
my copy of TwoSelectsRelated has the code already in it for preselecting values.  I 
think I got it out of the Devex many moons ago, if you have the same version that is 
there.  Then email me off list and I can zip up this one and send it your way.


--
Snipe - CF_BotMaster Network=EFNet Channel=ColdFusion
--
__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cf_TwoSelectsRelated initially selected values

2002-09-26 Thread Aaron Rouse

It would be a little more than that for the second box since it is populated via JS.  
However that method should at least work for the first box.  You would do that on the 
first, then need to call the JS function that populates the second box and then select 
the appropriate option in the second box via JS.


 Not really into custom tags, but something along  those lines should work??


--
Snipe - CF_BotMaster Network=EFNet Channel=ColdFusion
--
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists