Expand my Community achievements bar.

Rename the file when submitting a form

Avatar

Former Community Member
Hi, I've to send the form in PDF format and I've got various functions to do it:

event.target.submitForm({cURL:"mailto:mysister@myhouse.com;nobody@home.com?subject=Submitted Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset:"utf-8"});



event.target.mailDoc(false,"", "", "", "Avaluació periode " + P1.Periode.rawValue + " de l'empleat " + P1.Empleat.rawValue , "A signar.");



but none of those let me change the name of the file that appears as attachment.



Could anybody help?



Thanks in advance

Esteve.
2 Replies

Avatar

Former Community Member
Hello,



I'm also interested in something similar. I've created a form and it has an email submit button, I would like to know how to be able to rename the file when the user clicks submit. I have a field name called UserID, I would like to pass that into the subject of the email. Is this possible? Any ideas? Any help would be greatly appreciated.



Thanks,

~my

Avatar

Former Community Member
Hi My Ha, did you get any answer?

Thanks,

Esteve.