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

Alter error message of a date field

New Here ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

Hi, 

 

Is there a way where the error message of a date field can be changed? When typing text with invalid date format, it gives the default error message but it needs to be customized in our use case. Any help would be appreciated, thanks.

TOPICS
JavaScript , PDF forms

Views

482

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
New Here ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

or would it be possible if it can prevent user from typing in the text field of the date picker and just let them select date from the date picker?  Thanks 

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
Community Expert ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

- No. You'll need to create your own custom Validation, Format and Keystroke scripts to do that, but then the calendar picker won't appear.

- I don't think that's possible, either.

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
New Here ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

LATEST

For point 1: that's what I have got so far too using the way mentioned in: https://acrobatusers.com/forum/forms-acrobat/date-validation-1/  but the datepicker disappears after... 

For point 2:  Sad..

 

Thanks for the reply, appreciate it

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