Forums

Saving data in CN form opened from CN

emmexx 19 Nov, 2017
I created a connection with a table listing in the index event.
For each record I add a link to edit the record in the original CF form where data were saved.
I pass the data as a var in the cn form:
Data provider: {var:read_list.myTable}
Content: {chronoform.event:myCF6Fofrm/load}

The cf6 form open and the record values are there.

In the same connection I created a Toolbar button linked to the cn event that I use to edit the records.

I don't understand how to manage saving data.

The Save Data action in the cf6 form apparently is not working (it works if I open the form outside of CN).

Where is the saving action to be managed? In CF or in CN? And how?

Thank you
maaxx
emmexx 20 Nov, 2017
Answer

I don't understand how to manage saving data.

The Save Data action in the cf6 form apparently is not working (it works if I open the form outside of CN).

Where is the saving action to be managed? In CF or in CN? And how?



I found out the answer: event in CC.
I'm not sure I understood well how to manage the form events in CF but the form data are submitted to CC and must be managed there, not in CF.

maxx
zshaw 20 Nov, 2017
Hi, emmexx!

I'm having trouble getting my edits to save to the db as well. Could you explain how you managed the save in CC?

Thanks!
Max_admin 27 Nov, 2017
Hi zshaw,

You just need to check the url in the browser's address bar after the form is sent, if its a CF url then configure the event in CF, but if its a CC url then configure the event in CC.

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.