Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

Printing button in PDF fillable form.

$
0
0

Dear All,

 

I have created a PDF fillable form with a button which save & print the pdf.

The code for is as fallow:

 

Formular1.#pageSet[0].Seite1.Bildfeld1::click - (JavaScript, client)

var Mailto = "info@stell.de";

 

var Betreff = Textfeld1.rawValue;

 

var Nachricht = "Dies ist eine Telefonnotiz\r2.Zeile Hier";

 

var CC = "info@stell.de";

 

var BCC = "info@stell.de";

 

var Mail = "mailto:" + Mailto + "?Subject=" + Betreff + "&Body=" + Nachricht + "&cc=" + CC + "&bcc=" + BCC;

 

  1. event.target.submitForm({

 

cURL: Mail,

 

bEmpty:false,

 

cSubmitAs: "PDF"

 

 

});

  1. event.target.closeDoc(true); (FormClac)

Formular1.#pageSet[0].Seite1.DruckenSchaltfläche1::click - (JavaScript, client)

  1. xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);

 

 

my problem now is that with this script I can print and save the file even though all required fields are not filled!! I donot anyone to have the possibility to print the file or save it unless he fill all required fileds.

 

  1. Any Idea, coz Iam new in the Adobe Livecycle world

Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>