HTML form submit button to open email app and attach pdf | Community
Skip to main content
abhilashy577678
Level 2
September 21, 2020
Solved

HTML form submit button to open email app and attach pdf

  • September 21, 2020
  • 3 replies
  • 1397 views

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

@336592 @mayank_gandhi 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by GirishBedekar

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

3 replies

Level 8
September 21, 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 

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 21, 2020
GirishBedekarAccepted solution
Level 8
September 21, 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