can i modify the filename when using the email function in js?? | Community
Skip to main content
Level 4
July 14, 2023
Solved

can i modify the filename when using the email function in js??

  • July 14, 2023
  • 1 reply
  • 911 views

Hi again,

 

trying to figure out if its possible to change the filename of the file being attached as an email when using the following function?

event.target.submitForm({cURL: cEmailURL,cSubmitAs:"PDF",cCharSet:"utf-8"});

 

Im not getting anywhere with the "documentFileName" function, i can get the name but i cant change it. So using that email event, could i change the name to a field value instead??

 

Just wondering if thats possible at all. 

 

thx

 

Patrick

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by radzmar

It's not possible. The attachment get's named by the form. To change the name, you'll hat to save the form with the desired one first. 

1 reply

radzmar
radzmarAccepted solution
Level 10
August 15, 2023

It's not possible. The attachment get's named by the form. To change the name, you'll hat to save the form with the desired one first. 

Level 4
August 16, 2023

super!!

 

Thx for letting me know. thx for the help yet again 🙂