Rename or change PDF attachment when submitting via email



Hi everybody,

I have successfully created a form using LC 8.2.1 and I am able to submit it by email.

My only problem is that I want to change or rename the attached PDF file before submitting it as it gets named automatically by the program. And I don't want it to be renamed automatically.

Is there a way to do this?

I have managed to customize the email subject and the body, but I'm failing to get the attached file renamed. I use the following code to customize both the email subject and the body:

Button1.event__click.resolveNode("#submit").target=" Form 2";

Thank you very much