HTML form submit button to open email app and attach pdf

abhilashy577678

21-09-2020

Hi Experts,

Functinality - I have a submit button in form which triggers email app and by attaching PDF and subject line and add content in body of email is drafted. The code for the above fuction is written in the javascript area of XDP form, by below code -

doc.mailDoc(bUI:false, cTo: toaddvar, cSubject: subvar, cmsg: msgvar);

 

The above function is working well when the submit button is used from PDF form , BUT not working in when opened the form as HTML in browser. Can you please help me in modifying the code which is supported in HTML form submit button for the same functionality.?

 

Thanks in advance. Let me know if needed more details.

Abhilash

@_LiveCycle @Mayank_Gandhi 

 

Accepted Solutions (0)

Answers (3)

Answers (3)

GirishBedekar

21-09-2020

If you have rendered the xdp in html format and the functionality is not working then it is also the expected behavior 

The documentation lists the supported events when you render xdp in html format

GirishBedekar

21-09-2020

I think it is the correct behavior 

when you open the pdf in the browser you are opening it in the browsers pdf viewer which is not the same as adobe reader or Acrobat