Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Multiple Checkbox Control
Multiple Checkbox Control [message #2383] Sun, 29 November 2009 00:10 Go to next message
ljkbrost is currently offline  ljkbrost
Messages: 59
Registered: April 2006
Member
Hi,

I'm trying to use a multiple checkbox control and I cannot find documentation on what to expect when using the control.

I have it rendering but I cannot update/insert records with the control. The framework says nothing is selected. When I look at the rowdata in _cm_pre_updateRecord() I see that it is an array.

[version_format] => Array
(
[PDF] => PDF
[CSV] => 0
[XLS] => 0
[HTML] => 0
)

Is there some standard function that converts this array into a string for the DB layer and back. Or do I have to implement this is my code. If so, what function callbacks would you recommend I override?

Cheers,


Kyle Brost
----
www.softelephant.com
Re: Multiple Checkbox Control [message #2384 is a reply to message #2383] Sun, 29 November 2009 03:00 Go to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
This is described in FAQ59, which also points to a working example in the XAMPLE subsystem. Take a look at the 'multidrop' control for the favourite_food column.

Previous Topic: Calling List2 from a List2
Next Topic: $fieldarray problem
Goto Forum:
  


Current Time: Tue Apr 16 04:47:36 EDT 2024

Total time taken to generate the page: 0.00982 seconds