PDF Automation Station

PDF Automation Station

Validating Required PDF Fields

How to validate required fields before sending the PDF form with an email button

David Dagley's avatar
David Dagley
Nov 09, 2024
∙ Paid
Share
person writing bucket list on book
Photo by Glenn Carstens-Peters on Unsplash

In my last article I described how to create a button that sends a completed PDF fillable form by email. I outlined two methods and suggested the second document method is the preferred method for sending the form as an email attachment:

  1. submitForm( )

  2. mailDoc( )


Get the course above, and a suite of automation tools for FREE with a Professional subscription.


What If You Want To Validate Fields Before Sending?

The submitForm( ) method will not send, and will display a warning message, if any "required" fields have a null value. The required property of the field is located in the General tab of the field properties:

Required property of a PDF form field

The warning message does not specify which fields are missing data (keep reading for a more customized field validation strategy):

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 David Dagley
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture