Buy Now
Sign in

load data in checkboxes group (no handle array)

livingwebstudio , April 28 at 09:10
L
livingwebstudio
Hi,
i've some problem with my form in wich is present a checkbox group.
The form is directly connected with CCv5 (i modified a record)
example.png
this is my simple form, and this is the debug:
Array
(
[cont] => lists
[ccname] => corso
[act] => edit
[gcb] => 1
[corso] => Array
(
[id] => 1
[created] => 2018-04-27 16:43:45
[modified] => 2018-04-28 08:59:42
[nome] => Master in Hotel Management - Londra
[categoria] => 3
)

[cat_corsi] => Array
(
[id] => 3
[created] => 2018-04-27 16:42:25
[modified] => 2018-04-27 16:43:13
[categoria] => Master in aula
)

[tipo_corso] => Array
(
[0] => Array
(
[id_tipologia] => 1
)

[1] => Array
(
[id_tipologia] => 2
)

[2] => Array
(
[id_tipologia] => 3
)

[3] => Array
(
[id_tipologia] => 4
)

[4] => Array
(
[id_tipologia] => 5
)

[5] => Array
(
[id_tipologia] => 7
)

[6] => Array
(
[id_tipologia] => 8
)

[7] => Array
(
[id_tipologia] => 9
)

)

[categoria] => Array
(
[0] => Array
(
[id] => 4
[created] => 2018-04-27 16:42:48
[modified] => 2018-04-27 16:48:43
[categoria] => Corsi brevi in aula
)

[1] => Array
(
[id] => 3
[created] => 2018-04-27 16:42:25
[modified] => 2018-04-27 16:43:13
[categoria] => Master in aula
)

[2] => Array
(
[id] => 5
[created] => 2018-04-27 16:43:09
[modified] => 2018-04-27 16:43:13
[categoria] => Master on-line
)

)

[tipologia] => Array
(
[0] => Array
(
[id] => 1
[created] => 2018-04-27 18:14:59
[modified] =>
[nome] => Front/Back Office
)

[1] => Array
(
[id] => 2
[created] => 2018-04-27 18:15:09
[modified] =>
[nome] => Amministrazione/Contabilità
)

[2] => Array
(
[id] => 3
[created] => 2018-04-27 18:15:17
[modified] =>
[nome] => Booking
)

[3] => Array
(
[id] => 4
[created] => 2018-04-27 18:15:24
[modified] =>
[nome] => Sistemi informativi
)

[4] => Array
(
[id] => 5
[created] => 2018-04-27 18:15:32
[modified] =>
[nome] => Congressuale/Eventi
)

[5] => Array
(
[id] => 6
[created] => 2018-04-27 18:15:42
[modified] =>
[nome] => Revenue
)

[6] => Array
(
[id] => 7
[created] => 2018-04-27 18:15:50
[modified] =>
[nome] => Sales&Marketing
)

[7] => Array
(
[id] => 8
[created] => 2018-04-27 18:15:56
[modified] =>
[nome] => HR
)

[8] => Array
(
[id] => 9
[created] => 2018-04-27 18:16:05
[modified] =>
[nome] => F&B
)

[9] => Array
(
[id] => 10
[created] => 2018-04-27 18:16:14
[modified] =>
[nome] => Room Division
)

)

)
Array
(
)
How it's possible to populate checkboxes group from "tipo_corso" array?