Skip to main content
Participant
November 22, 2022
Question

Pop up when field not filled

  • November 22, 2022
  • 1 reply
  • 355 views

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.

This topic has been closed for replies.

1 reply

JR Boulay
Community Expert
Community Expert
November 23, 2022

Place this in the "on blur" trigger:

 

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

 

Acrobate du PDF, InDesigner et Photoshopographe