Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pop up when field not filled

New Here ,
Nov 22, 2022 Nov 22, 2022

I'd like to have a pop up appear if users click a specific field and then leave it blank. Field is called "Location." The pop up should say something like "This information is required to process this referral." Is there any way to do this using javascript?

 

Unfortunately I know nothing about javascript.

TOPICS
JavaScript , PDF forms
361
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2022 Nov 23, 2022
LATEST

Place this in the "on blur" trigger:

 

if (event.target.value == event.target.defaultValue) {app.alert("This information is required to process this referral.");}

 

Capture_2211231202.png


Acrobate du PDF, InDesigner et Photoshopographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines