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

Acrobat DC - How to make a field fillable only when previous field is populated?

New Here ,
Mar 22, 2021 Mar 22, 2021

Copy link to clipboard

Copied

I'm looking to set up a document in a way that someone filling it out can only populate fields once all preceeding fields have been populated. Would there be a way to do this?

TOPICS
Create PDFs , Edit and convert PDFs , PDF forms

Views

386

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 ,
Mar 22, 2021 Mar 22, 2021

Copy link to clipboard

Copied

There is couple of ways to do that, by making fields read only or hidden until previous field is populated.

Example:

Lets say you have field1 and field2, you don't won't field 2 to be fillable until field1 is filled, you can make field2 read only like this: as validation script of field1 use this:

this.getField("field2").readonly = event.value == "" ? true : false;

or to make it hidden:

this.getField("field2").display = event.value == "" ? display.hidden : display.visible;

Since it's validation script for first time set fields to read only/hidden manually.

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 ,
Mar 30, 2021 Mar 30, 2021

Copy link to clipboard

Copied

LATEST

Thank you for the reply!

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