4 Replies Latest reply on Jan 18, 2015 5:18 PM by Robertlopez

    Acrobat Form Fill – Document Closing Validation

    Robertlopez Level 1

      Can someone help me with this. I want to set a form field empty validation in set document actions when a document closes. Basically wanting some entry level custom data validation.


      For example Form has 20 fields, I want 3 of them say name1, occupation1 and age1 to produce a JavaScript alert if they are empty.


      So if all three are empty it will say

      Please complete Name, occupation and age fields


      If only name is empty it will then only say

      Please complete name field


      Can someone point me to or list the javascript code on how to do this? At the moment I am just using a general app.alert type reminder when the document closes.Trying to smarten things up a bit.