Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Rename the file when submitting a form

Avatar

14-05-2008

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.

Replies

Avatar

29-05-2008

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