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;
- event.target.submitForm({
cURL: Mail,
bEmpty:false,
cSubmitAs: "PDF"
});
- event.target.closeDoc(true); (FormClac)
Formular1.#pageSet[0].Seite1.DruckenSchaltfläche1::click - (JavaScript, client)
- 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.
- Any Idea, coz Iam new in the Adobe Livecycle world