There are some Javascripts that will do this if you want it to show up when
you actually check the box. Alternately, you could add the logic:
<cfif isDefined("form.checkbox")>
... code to mark all as selected
Another idea that would work if you're submitting the form page to itself
for verificaiton or action first might be to put an
onChange="javascript:form.submit()" in the checkbox, have the form submit
when you check or uncheck the box, and add the same logic as above to select
or unselect in the combo box.
In other words, there are many different solutions and each of them has to
be fine-tuned. Hope this gives you some ideas tho.
Hatton Humphrey
Fisher, Towne & Associates
http://www.fishertowne.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Meraj UlQamar
Sent: Wednesday, June 27, 2001 4:22 AM
To: [EMAIL PROTECTED]
Subject: Please Help me !!!!!
Dears:
I want that If check a checkbox on page then all values of the drop downbox
should be selected. Remember I have given the size of the combo box so that
I would provide us a look of ListView Control of the VB. And I am creating
this list box dynamically.
Regards,
Meraj
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org