Skip to main content
Participant
March 3, 2016
Question

Submit a form - need pdf name to change when it emails.

  • March 3, 2016
  • 2 replies
  • 474 views

Ideally we would like to append a name from one of the form fields and also the date to the name of the pdf.  Since we will be receiving forms from many customers, this will ensure that we do not save and overwrite anther's form.  Is there a way to have the pdf form that emails per the submit a form button, alter using one of the data fields from the form for each person filling it out?

This topic has been closed for replies.

2 replies

NKOWA555
Inspiring
March 3, 2016

Renaming the attachment is only possible if you submit to an ASP.net server-side script. You can parse the form field with iText/FDFToolkit.net, set the attachment name, and send the email using SMTP account.

Visit the following site for online examples:

www.pdfemail.net/examples/

try67
Community Expert
Community Expert
March 3, 2016

Only if a script is installed on the local machine of each user...

wdm1111Author
Participant
March 3, 2016

That's not possible.  It's going to each of our customers.  Really the submit form button, as a complete pdf (what we need), is completely useless as is without the ability to make the emailed name of the submitted pdf unique.

try67
Community Expert
Community Expert
March 3, 2016

In that case PDF is not the right choice for you.