ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

chronoconnectivity V5 creates empty record

tvdgreft 04 Dec, 2014
I made a connection in cfv5 with the name gebruikers.
In the front list tab I add edit_gebruiker:load in the form event of the edit item.
edit-gebruiker is a cfv5 form where the data shows up correctly after choosing a datarecord form the displayl list.
In this form I add a Connection Action in the On Submit field. (connection's name: gebruikers, action:save)
After submit I get the message: correctly saved, but the record is unchanged and a new empty record is created.
GreyHead 05 Dec, 2014
Hi tvdgreft,

Please see this FAQ

I'm guess that this bit may be missing: "Next we will add the form elements we need, including a 'Hidden field' element which will hold the value of the primary key from the table, usually id or cf_id, to make sure we update the same record."

Bob
tvdgreft 05 Dec, 2014
Hi Max,

I noticed that. The first field in my form is a hidden field with Field Name and field ID gebruiker[id].
The primary key of the table is id. and the model in CCv5 connection is gebruiker.
Even then the record is not modified, but a new empty record is created.
Max_admin 05 Dec, 2014
Hi tvdgreft,

Please post a screenshot for your connected form "setup" and "designer" sections.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
tvdgreft 05 Dec, 2014
Desing screen:

[IMG]http://i57.tinypic.com/28p2ee.png[/IMG]

setup screen:

[IMG]http://i57.tinypic.com/2zp8fip.png[/IMG]
Max_admin 06 Dec, 2014
The 2nd image is clear, the first one is not, I wanted to check your fields names!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
tvdgreft 06 Dec, 2014
Hi Max,

The form is large i'll do it in 2 parts. Is this better?

http://s30.postimg.org/cfjx2zu3l/editgebruiker1.png

http://s27.postimg.org/k66bj2m2r/editgebruiker2.png
Max_admin 07 Dec, 2014
Everything looks good, please add a "debugger" action instead of the "Connection action" and post the debug report after editing a record!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 08 Dec, 2014
Oh, please remove the "handle arrays" action and try again, I think this is what breaks it!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
tvdgreft 08 Dec, 2014
[IMG]http://i58.tinypic.com/uplco.png[/IMG]
tvdgreft 08 Dec, 2014
I removed the handle arrays action and the result of the debug is above.
Is that what you need?
Max_admin 09 Dec, 2014
It should update the record now, doesn't it ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
tvdgreft 10 Dec, 2014
I think It tries to update, but the following error is geven: 1054 unknown column array in field list. The data which follows is indeed the data of the record to be updated.
Max_admin 10 Dec, 2014
I think its because you have some checkbox groups ? please try to remove them and test, if it works then please let me know and we will try to find a solution for this issue!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
tvdgreft 10 Dec, 2014
You are right. Without the checkboxes It works.
tvdgreft 22 Dec, 2014
Is there already a solution for this problem?
Max_admin 19 Jan, 2015
Hi tvdgreft,

Apologies for not replying sooner!

Could you please send me a message using the "contact us" page to get a patch file to test ? and please include a link to this topic!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Fawaaz 29 Mar, 2015
Hello,

I'm having the same problem here.
Handle array has been removed on the ON SUBMIT action.
Record is not updated and new empty record is added to table.
Debug is not showing unsual things.
Can anyone help with this please?



Regards,
Fawaaz 30 Mar, 2015
1 Likes
SOLVED
I was using Id instead of id
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com