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

How I can put a validation at the exit of a field by tabulation

New Here ,
Aug 06, 2018 Aug 06, 2018

Copy link to clipboard

Copied

I a doing a form and I have to put two validation at the exit of a field. The validation must be done when a go out by tabulation.

The first validation is to make visible fields is a date is write in a specific field.

The second validation is to check a box is the date of reception is higher of the date of acceptation.

Where and how a can do those validation.

Thank you for your help.

Helen.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

351

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 ,
Aug 07, 2018 Aug 07, 2018

Copy link to clipboard

Copied

The validation event is triggered automatically when the value of the field is changed. There's no need to do it when the user just tabs through the field and doesn't change its value.

You can read here about how to show/hide other fields and how to work with Date objects:

https://acrobatusers.com/tutorials/show_hide_fields

https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript

https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript-part-2

https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript-part-3

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 ,
Aug 07, 2018 Aug 07, 2018

Copy link to clipboard

Copied

Hi.

I know how to show and hidden field.

But when i write date in a specific field and I go out of the field by tabulation,  I want to make visible four fields. The prog that I use it's not working like usual. Why?

This the same thing for the second validation. The second validation is when I write the the date of reception and at the exit of the field by tabulation this date is higher of the date of acceptation, I have to check a box.

Can you help me?

Thank you.

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 ,
Aug 07, 2018 Aug 07, 2018

Copy link to clipboard

Copied

LATEST

I understood your request and have provided the resources you need to achieve it.
If you want me to do it for you, for a fee, you can contact me privately (try6767 at gmail.com) to discuss it further.

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