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

show a dialog box if fields are blank

New Here ,
Jan 20, 2023 Jan 20, 2023

Copy link to clipboard

Copied

Hi

I have a form with a couple of fields, some of those fields are mandatory, and the user shouldn't save or print the form without filling those two fields. if they try, a message should pop up to fill in those fields.

 

I have attached the form, in the requestor section (section 4), the name, date & checkbox are required fields. the user shouldn't leave these blank.

 

there is no button in the form & I don't want to use any button here.

 

your kind help will be highly appreciated. 

 

thank you

Sam

 

TOPICS
Edit and convert PDFs , How to , JavaScript , PDF forms

Views

406

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 ,
Jan 21, 2023 Jan 21, 2023

Copy link to clipboard

Copied

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
LEGEND ,
Jan 21, 2023 Jan 21, 2023

Copy link to clipboard

Copied

LATEST

The user can save or print the form at any time, whether you like it or not. Required fields apply only to actually submitting. 

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