Copy link to clipboard
Copied
Gibt es eine möglichkeit das ein Formular nur druckbar ist wenn alle erfordelichen Felder ausgefüllt sind
Copy link to clipboard
Copied
It's possible with JavaScript but it's really not user friendly.
He may have many good reasons for printing an incomplete form and to complete it later or elsewhere.
Copy link to clipboard
Copied
Es soll nur ausgedruckt werden wenn der das Feld ausgefüllt hast du einen Javascript für mich der dies erfüllt?
Copy link to clipboard
Copied
Sorry my answer was not correct, see this topic:
Copy link to clipboard
Copied
komme damit nicht klar ich möchte das wenn ich ein Pflichtfeld habe erst gedruckt werden kann wenn das Pflichtfeld ausgefüllt ist oder das ein Hinweis erscheint aber nur für das eine Feld zum Beispiel Mitarbeiter (Name) und wo soll ich das eintragen?
Copy link to clipboard
Copied
Did you misunderstand try67's answer in the linked topic above?
Copy link to clipboard
Copied
Ich weiß nicht welche Java script ich brauche
Copy link to clipboard
Copied
He explains that this is (fortunately) not possible and that all we can do is display an alert to warn the user.
Copy link to clipboard
Copied
die Warnung würde mir schon reichen habe ich weiß nicht welcher script und wo genau ich diese eintragen muss damit es funktoniert
Copy link to clipboard
Copied
Place this script in the "Document Will Print" document action:
if (this.getField("MANDATORY").value == this.getField("MANDATORY").defaultValue)
{app.alert("Blablabla");}
Of course you must change the field's name and the alert text.