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

92

Likes

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
Adobe Community Professional ,
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.

Likes

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!

Likes

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