I created a CF5 form (called AMNtransfer) to insert data which is saved in a database. Next I made a CC5 connection to show this data in another CF5 form (called AMNtransfer-edit) so it can be editted and again saved. On submit I added a connection action which saves the data. This all works fine.
If all information/data is complete and checked, I want to create a pdf file (which contains the full data for my own administration) and an email (which contains a short client overview) so I can send a confirmation to the client. I don't want to do this using the "AMNtransfer-edit", because then the form gets send after editing and before the check. So I made a third CF5 form (called AMNtransfer-download) and made a second connection to show the data in this form. In stead of a connection action on submit I insert a "TCPDF" and "Email" action. This also works fine, but here is my problem...
The fieldnames all contain the model name of the connection, e.g. "AMNtransfer[id]", otherwise the data doesn't show. But how do I use these fieldnames in the pdf and email html? I've tried {id} (=field ID), {AMNtransfer[id]}, {AMNtransfer.id}... I cant' get it to work.
If all information/data is complete and checked, I want to create a pdf file (which contains the full data for my own administration) and an email (which contains a short client overview) so I can send a confirmation to the client. I don't want to do this using the "AMNtransfer-edit", because then the form gets send after editing and before the check. So I made a third CF5 form (called AMNtransfer-download) and made a second connection to show the data in this form. In stead of a connection action on submit I insert a "TCPDF" and "Email" action. This also works fine, but here is my problem...
The fieldnames all contain the model name of the connection, e.g. "AMNtransfer[id]", otherwise the data doesn't show. But how do I use these fieldnames in the pdf and email html? I've tried {id} (=field ID), {AMNtransfer[id]}, {AMNtransfer.id}... I cant' get it to work.