Dynamically set the pdf filename
-
Hi all
Ive currently appended the date the entry was made to the filename using a mergetag. It looks like:
My pdf – {entry:date_created}
This causes the filename to be “My pdf – 2019-10-06 07_56_08.pdf” which is great, but can I remove the timestamp? I just need the date.
Also, in my functions.php file, I have a function which – when the form is submitted – generates an ID for the user based on what they have entered. Is it possible to pass this variable to gravity pdf so that its appended to the filename?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Dynamically set the pdf filename’ is closed to new replies.