cancel
Showing results for 
Search instead for 
Did you mean: 

submit button to trigger mail sending

Former Member
0 Kudos

my requiredment is in interactive form.. i have some fields to be filled by end user at their local machines..

and then a submit button is there, which when clicked will trigger a new mail (say an new mail window of outlook express will open with this pdf attached to a particular receiver name by default..

can some body tell me what script i have to write (in formcalc/javascript) for this and in which event of the submit button i should write the script

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Soumya,

Add a mail button at the end of your form , to define dinamycaly the e-mail adress of the recipient add an attributes to your interface and that will work.

If you need sample do not hesitate

Best regards

chintan_virani
Active Contributor
0 Kudos

Soumya,

Check this [document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d]

Another thing which I found and you can try is :

1. Create a regular button.

2. In the Object palette, set the Control Type to Submit.

3. Go to the Submit tab. Select Submit Format as PDF.

4. In the Submit to URL box, type the submit email address preceded by mailto: tag

For example: mailto:myEmail@domain.com

Please note that in order to submit a PDF, either :

- your end users must have Acrobat installed; or

- you must pay Adobe for a Reader Extensions license for your form.

If you don't do this, your button won't work.

Chintan

Edited by: Chintan Virani on Mar 3, 2008 11:05 AM