Buy Now
Sign in

Chronoconnectivity modify pdf created with tcpdf

sammy979 , June 10 2021, 14:17
S
sammy979 8
June 10 2021, 14:17 #396654
Good morning,
I create a form with chronoforms v5. With this form I create a pdf with tcpdf and the relative link.
With chronoconnectivity I create a table with wich I can modify the records. But the pdf and the relative link remains the same.
How can modify the existing pdf from chronoconnectivity?
Or how can create a new pdf and a new link that appears in the table?
I hope I was clear..
Thanks a lot
GreyHead 65
June 11 2021, 09:26 #396656
Hi sammy979,
The simplest way is probably not to edit the data directly in ChronoConnectivity. Instead add a link there that will open the original form with the saved data - you could do this in a pop-up window or a second tab. Then you have full control over the form data and the creation of the pdf. You can't edit the pdf so you can either delete the old one on submit, or give the new one a different name and keep both.
Bob
If you'd like to buy me a coffee or two, thank you very much
S
sammy979 8
June 11 2021, 14:11 #396658
Thank you so much for your answer...
Honestly I thought about this solution, but I have no idea how to open the original form.
can you help me do this, maybe with a little tutorial?
Thanks again
GreyHead 65
June 12 2021, 08:57 #396660
Hi sammy979,
Please check this FAQ for CFv5.
Bob
If you'd like to buy me a coffee or two, thank you very much
S
sammy979 8
June 29 2021, 14:13 #396754
Hi Bob
I think this solution is good to me. But I can't populate the form on chronoforms with the data of the original form (with the data of the corresponding line of the table).
I read this post:<< https://www.chronoengine.com/forums/posts/t103134/url-link-to-open-form-to-edit-existing-record >>
I think it's right for me but I don't know where to put the php code and even if i need to make some corrections to the code...
Please can you help me, or can you suggest another solution that suits me?
Sorry and thank you so much..