Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Dynamically changing the file name using the submit button

Avatar

Former Community Member
I am currently using a submit button to send information to myself from the user of the form. Is there any way to change the name of the file that is emailed as a .pdf file according to some type of parameter or data set that is collected in the form?
1 Reply

Avatar

Former Community Member
Not programmatically. The attachment wil take the same name as the opened PDF. If you change the name of the PDF then it will change your form name as well. That cannot be done programmatically.