I have a form on which I've added a custom button to call a report. The JavaScript looks like this:
Code: Select all
emailIt("receiptrpt","","info@domain.co.nz","Subject","Body of message","Receipt.pdf",true,"PDF")
Receipt-342.pdf
I don't believe hash variables are supported here, but something along the lines of this would seem appropriate.
Code: Select all
emailIt("receiptrpt","","info@domain.co.nz","Subject","Body of message","Receipt'#id#'.pdf",true,"PDF")