CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 multi selection on a listbox

Print topic Send  topic

Author Message
Denis Delarze G.
Posted: 01/31/2002, 1:29 PM

who know how work with a multi selection on a listbox ??
Nicole
Posted: 02/01/2002, 12:26 AM

Denis,
a little bit tricky task that requires some manual coding..
First of all you need to edit output html code to add "multiple" attribute to ListBox field.
When multiple values are selected the query_string contains the string like:
listboxname=1&listboxname=3&listboxname=10&id=865
I.e. there's several parameters with the same names but different values. The main idea is: create function that would get and parse the query string and put parameter values to array. The result of the function is array of values. Then you can work with array the way you need, e.g. insert several records into table.

   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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