[attachment=3]chronoforms5_3.JPG[/attachment][attachment=1]chronoforms5_1.JPG[/attachment]Hello,
I'm a Joomla user and I'm testing chronoforms v5 and get some problems while saving data into my joomla table:
I have
1. desgined a chronoforms form with the wizard.
2. created a table linked to my form with chronoforms
Everything is working fine except that
1. my table is not correctly polulated with the my datas.
When "insert", new record but "uniq_id, user_id, created and modified fields" are populated.
When "update" only record 2 is updated with all fields (included form fields)
I have first tried with all the datas - not working then use handle arrays (see attachment) -not working either.
2. Why is id = 2 always set (see debug attached)
Thanks for prompt reply. This test is a school work.
Claudine
I'm a Joomla user and I'm testing chronoforms v5 and get some problems while saving data into my joomla table:
I have
1. desgined a chronoforms form with the wizard.
2. created a table linked to my form with chronoforms
Everything is working fine except that
1. my table is not correctly polulated with the my datas.
When "insert", new record but "uniq_id, user_id, created and modified fields" are populated.
When "update" only record 2 is updated with all fields (included form fields)
I have first tried with all the datas - not working then use handle arrays (see attachment) -not working either.
2. Why is id = 2 always set (see debug attached)
Thanks for prompt reply. This test is a school work.
Claudine
Hi Claudine1300,
It's because you have the form in an article with an id = 2 (you can see that in the Debug data. If you test the form from a View Form link in the Forms Manager then it should work OK.
The simplest solution is to use PHPMyAdmin to change the name of the Primary Key in the table from id to cf_id. If this isn't possible then you can use a Custom Code action to unset the value of the $form->data['id']
Bob
It's because you have the form in an article with an id = 2 (you can see that in the Debug data. If you test the form from a View Form link in the Forms Manager then it should work OK.
The simplest solution is to use PHPMyAdmin to change the name of the Primary Key in the table from id to cf_id. If this isn't possible then you can use a Custom Code action to unset the value of the $form->data['id']
Bob
This topic is locked and no more replies can be posted.