Forums

Form save to database

jaak 06 Feb, 2015
Hello,

Saving to database gives error:
1054 - Unknown column 'Array' in 'field list' SQL=INSERT INTO `uus4_chronoengine_chronoforms_datatable_ProgrammiKasutamine3` (`nimi`, `ettevotteNimi`, `text58`, `epost`, `button46`, `kysimus`, `Tarkvarapakett`, `Opsysteem`, `teiekysimus`, `button16`, `user_id`, `uniq_id`, `created`) values ('MY name', 'Company OÜ', '5555555', 'jaak@company.ee', 'Saada', Array, 'StandardBooks', 'Linux', 'sdhahdfhfdhsdhsdhdfhdfhsdhdshsdhsdhdshsdhdshsdhdsh', 'Saada küsimus', '0', '6859dfa0c00d6483c6e988febeb331cf916210a6', '2015-02-06 12:07:27');


Throught Chronoform admin:

1. Forms list - select the form
2. I create database table for selected form
3. from form setup I include DB Save to submit action
4. DB save edit - > choose database table
5. Save form

Error is displayed.

What can I do to solve this problem?

Jaak
GreyHead 06 Feb, 2015
Hi Jaak,

Please drag a Handle Arrays action into the OnSubmit event and move it up before the DB Save action.

Bob
This topic is locked and no more replies can be posted.