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.
|
|
|
 |
|