CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Multiple list box

Print topic Send  topic

Author Message
Jeroen Steggink
Posted: 08/30/2002, 5:27 AM

Hi,

I'd like to have a multiple list box in a record form. But I don't have any
clue how to build this. I have a read a few articles on gotocode.com but
they don't help me much. Does anyone know how to integrate this function?

Regards,

Jeroen Steggink

Don Anderson
Posted: 09/06/2002, 5:15 PM

Hi there,

If you are still wanting this then I suggest that you look at my posting
"Php - Multiple Listbox Experience" on 15 July.

Regards,
Don Anderson

"Jeroen Steggink" <jeroen_steggink@hotmail.com> wrote in message
news:aknob1$idh$1@news.codecharge.com...
> Hi,
>
> I'd like to have a multiple list box in a record form. But I don't have
any
> clue how to build this. I have a read a few articles on gotocode.com but
> they don't help me much. Does anyone know how to integrate this function?
>
> Regards,
>
> Jeroen Steggink
>
>

Jeff Stuart
Posted: 09/07/2002, 5:13 AM

Stupid question. Has anyone done anything like this regarding multiple
check boxes? IE I have something that right now is a mutliple select list
box thanks to Don's post. (THANK YOU DON! You saved me with that post.
:D) However, it would probably look better if it was a group of checkboxes
instead of a listbox.

Don Anderson wrote:
> Hi there,
>
> If you are still wanting this then I suggest that you look at my posting
> "Php - Multiple Listbox Experience" on 15 July.
>
> Regards,
> Don Anderson
Don Anderson
Posted: 09/08/2002, 5:42 PM

Hi Jeff,

Glad someone found that post useful. :-) It took me a fair while to figure
out.

For the Multiple Checkbox thing have a look at the PHP Editable grid
example.
I didn't need the editable text input part but adapted the checkbox part
using similar logic as in my Multiple Listbox example. I chose to use "[]"
in the checkbox name to designate an array rather in the example.

Using a label component in a grid and a BeforeShow event to change its
output to a checkbox is a nice idea. Then you can process the checkbox
selections in an AfterPageInitialise event.

If you need to create multiple checkboxes in a single grid row, then you
will have to write the logic loop for doing this in the BeforeShow event or
as a separate function which gets called.

Remember to set the Label's Content type to HTML or you will get errors.

Good luck,
Don Anderson


"Jeff Stuart" <jstuart@neo.rr.com> wrote in message
news:alcqi2$c15$1@news.codecharge.com...
> Stupid question. Has anyone done anything like this regarding multiple
> check boxes? IE I have something that right now is a mutliple select list
> box thanks to Don's post. (THANK YOU DON! You saved me with that post.
> :D) However, it would probably look better if it was a group of
checkboxes
> instead of a listbox.
>
> Don Anderson wrote:
> > Hi there,
> >
> > If you are still wanting this then I suggest that you look at my posting
> > "Php - Multiple Listbox Experience" on 15 July.
> >
> > Regards,
> > Don Anderson
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.