Skip navigation
igor_hb
Currently Being Moderated

Send form like pdf

Apr 15, 2012 2:03 PM

Tags: #pdf #email #forms #livecycle

Hi,

 

I have form and I need to send form in PDF format to specific mail ...

in the start user must select check box :

     when user select 1 check box option subject mail is Name 1 + address2 ....

     when user select 2 check box option subject mail is Name 2 + address2....

 

My problems (sorry I'm beginner), is button for send form in the PDF format ...

 

I create one button for each subform like (click event) :

 

--------------- subform1 -----------------

var oDoc = event.target;

oDoc.mailDoc(

{

bUI: true,

cTo: "a@b.com",

  cSubject: form1.page1.subform1.Name1.rawValue + " " + form1.page1.subform1.address1.rawValue

});

 

------------------ subform2 -----------

var oDoc = event.target;

oDoc.mailDoc(

{

bUI: true,

cTo: "a@b.com",

  cSubject: form1.page1.subform2.Name2.rawValue + " " + form1.page1.subform2.address2.rawValue

});

-----------------------------------------------

But that work only for option 1.

When select on then check box option 2 and press button - don't work.

 

Can i set one button for all form (and where put it) , where mail subject will be value from actual subform , and format form="pdf" ?

 

Thanks ...

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points