Saving cf_pdf_file value to database

save a generated PDF filename to a database.

Overview

The cf_pdf_file value is not being saved because the database table structure is cached.
Delete the cache in the Forms Manager to force CF to update its stored table and column information.

Answered
se sem 08 Nov, 2014
Hi - probably a simple solution but:

Using TCPDF I've got a pdf of the form attaching to the email perfectly along with saving the pdf. With a debug, in the initial array, I can see [cf_pdf_file] in the array with the right filename - I've got a field in the database set up VarChar as cf_pdf_file

The last action is to db_save - yet the cf_pdf_file value isn't saved back. Help!

thanks, sem
Gr GreyHead 08 Nov, 2014
Answer
1 Likes
Hi sem,

Is the other data saving in the database OK?

Please try clicking the Delete Cache icon in the Forms Manager. ChronoForms saves the table + column info for 24 hours so that may be enough to update the records.

Bob
se sem 08 Nov, 2014
Perfect! Deleted cache and it leaps into life! Thanks BOB!
This topic is locked and no more replies can be posted.