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

Pop up when field not filled

New Here ,
Nov 22, 2022 Nov 22, 2022

Copy link to clipboard

Copied

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

Views

301

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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