CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 checkbox list help!

Print topic Send  topic

Author Message
mark s
Posted: 05/04/2003, 1:40 PM

I have a checkbox list filled from one table and would like to update another table with the items the user has selected in the checkbox list. I get a warning saying only the first will be updated, any help on the checkbox list???
Paul Schmidt
Posted: 06/20/2003, 11:53 AM

I found this frustrating, also.

In PHP, the value of:

$form->CheckBoxList->Value is an array of the values selected. Since I was using the Value with a set, it was easy to change the value to a string in an event:

$form->CheckBoxList->SetValue(implode(",", $form->CheckBoxList->Value));

This gave me a comma separated list of values that were checked. Just what I needed to put into the database.

Now, can someone tell me how to get it out and set the value before showing the checkboxes with the proper once checked? I haven't figured that one out yet.

   


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.