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

SOLVED

HTML form submit button to open email app and attach pdf

abhilashy577678
Level 2
Level 2

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 

 

1 Accepted Solution
GirishBedekar
Correct answer by
Level 9
Level 9

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

View solution in original post

3 Replies
GirishBedekar
Level 9
Level 9

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 

GirishBedekar
Correct answer by
Level 9
Level 9

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

View solution in original post