Forums

ChronoForms V4 - doesn't save checboxes data into database

dueg 11 Jan, 2013
Dear all,
I have the following problem with ChronoForms V4_RC3.5.2 installed on Joomla 2.5:
all the form data are saved into the database except the checkboxes group data even if I drag a Handle Arrays action into the OnSubmit event before the DB Save action.
Please find below the Debugger message; [profilo] and [full_part_time] are the two checkboxes field.

thanks in advance for your cooperation!


<Data Array:

Array
(
    [option] => com_chronoforms
    [view] => form
    [Itemid] => 174
    [chronoform] => candidature_2812-Copy
    [event] => submit
    [nome_cognome] => gianluca galli
    [data_nascita] => gg/mm/aaaa
    [stato_civile] => Nubile
    [nazionalità] => italita
    [permesso_soggiorno] => Si, sono in possesso del permesso di soggiorno
    [indirizzo_residenza] => berna
    [contatto_telefonico] => 4444444
    [email] => gluca.galli@gmail.com
    [email_2] => gluca.galli@gmail.com
    [skype] => 
    [patente_guida] => Si
    [automunita] => Automunita
    [diete_particolari] => 
    [condizioni_salute] => 
    [Allergie] => 
    [abilità_cucina] => 
    [disponibile_da] => 1 settimana preavviso
    [profilo] => Array
        (
            [0] => Assistente neonatale|Puericultrice
        )

    [full_part_time] => Array
        (
            [0] => Full time - live out
            [1] => Part time
        )

    [disponibilità] => Durante tutto l'anno
    [periodi_disponibilità] => 
    [mansioni_domestiche] => Disponibile, ma limitatamente al bambino
    [disp_trasporto_auto] => 
    [anni_esp_professionale] => 2
    [referenza_1] => 
    [referenza_2] => 
    [referenza_3] => 
    [madrelingua] => gggggg
    [inglese_livello] => Fluente
    [lingue_ulteriori] => 
    [consenso_privacy] => 1
    [upload_foto] => 
    [upload_cv] => 
    [submit_candidatura] => Invia la tua candidatura
    [439d50ed72c4ebc85caa7a1a5282c5e5] => 1
    [_PLUGINS_] => Array
        (
            [upload_files] => Array
                (
                )

        )

    [chronoform_data] => Array
        (
            [cf_uid] => 6253e986cf50ae3a05195c3af61c047d
            [cf_created] => 2013-01-10 17:24:45
            [cf_created_by] => 473
            [cf_ipaddress] => 2.159.109.40
            [cf_user_id] => 473
            [option] => com_chronoforms
            [view] => form
            [Itemid] => 174
            [chronoform] => candidature_2812-Copy
            [event] => submit
            [nome_cognome] => gianluca galli
            [data_nascita] => gg/mm/aaaa
            [stato_civile] => Nubile
            [nazionalità] => italita
            [permesso_soggiorno] => Si, sono in possesso del permesso di soggiorno
            [indirizzo_residenza] => berna
            [contatto_telefonico] => 4444444
            [email] => gluca.galli@gmail.com
            [email_2] => gluca.galli@gmail.com
            [skype] => 
            [patente_guida] => Si
            [automunita] => Automunita
            [diete_particolari] => 
            [condizioni_salute] => 
            [Allergie] => 
            [abilità_cucina] => 
            [disponibile_da] => 1 settimana preavviso
            [profilo] => Array
                (
                    [0] => Assistente neonatale|Puericultrice
                )

            [full_part_time] => Array
                (
                    [0] => Full time - live out
                    [1] => Part time
                )

            [disponibilità] => Durante tutto l'anno
            [periodi_disponibilità] => 
            [mansioni_domestiche] => Disponibile, ma limitatamente al bambino
            [disp_trasporto_auto] => 
            [anni_esp_professionale] => 2
            [referenza_1] => 
            [referenza_2] => 
            [referenza_3] => 
            [madrelingua] => gggggg
            [inglese_livello] => Fluente
            [lingue_ulteriori] => 
            [consenso_privacy] => 1
            [upload_foto] => 
            [upload_cv] => 
            [submit_candidatura] => Invia la tua candidatura
            [439d50ed72c4ebc85caa7a1a5282c5e5] => 1
            [_PLUGINS_] => Array
                (
                    [upload_files] => Array
                        (
                        )

                )

            [cf_id] => 8
        )

    [chronoform_data_cf_id] => 8
)

Validation Errors:

Array
(
)>
GreyHead 11 Jan, 2013
Hi dueg,

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
GreyHead 11 Jan, 2013
Hi dueg,

I think this is probably a "lost in translation" problem.

"Skipped" fields are **not** processed by the Handle Arrays action.

You could use the White fields list - then **only** those inputs would be processed; but it's probably simplest to leave both boxes empty.

Bob
dueg 14 Jan, 2013
Thank you so much. Now it works fine.

Regards
Gianluca G.
This topic is locked and no more replies can be posted.