9 Replies Latest reply on Feb 20, 2017 1:38 PM by Joel_Geraci

    Need help on validating and printing a PDF document with a button


      Hello, I have a document which has 2 buttons a send via e-mail, and a print button.

      There is a single text input that has to be valideated for a 9 digit number.

      I'm using Javascript for the print and email sending and for the validation as well.

      My problem is, that the buttons are checking if the field is empty, but if I type in the correct amount of numbers, and DON'T click out of the text field the button will rercieves it as empty thus sending the error message.

      Any help would much appreciated. My javascript skills are decent, but I'm not familiar with Adobe JS.

      Thank you.