Is it Possible to build this in Acrobat XI Pro...?

New Here ,
Feb 14, 2018 Feb 14, 2018

Copy link to clipboard

Copied

Hi All,

Thought experiment...

Is it possible to build something using JavaScript, what is essentially a form / checklist

Where;

  1. Cover page is a step by step process with to-do list in each step
  2. Each to do list allows to add pages to the said form / checklist
  3. Perform validity / criteria checking before moving to the next step

Appreciate your inputs

Holly

TOPICS
Acrobat SDK and JavaScript, Windows

Views

99

Likes

translate

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
Most Valuable Participant ,
Feb 15, 2018 Feb 15, 2018

Copy link to clipboard

Copied

3. You can’t dictate the order that a form is filled

Likes

translate

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
Most Valuable Participant ,
Feb 15, 2018 Feb 15, 2018

Copy link to clipboard

Copied

You can, in a way. You make all the fields read-only, except for the first, and when the user fill in the first field you enable the second one, then the third, etc. Not ideal, but it could work.

Likes

translate

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 ,
Feb 15, 2018 Feb 15, 2018

Copy link to clipboard

Copied

... it does work and is relatively easy to set up. Start with an array of field names and work your way through them one by one changing the readonly property as you go and setFocus to put the cursor in the right field. Monitor the event.rc and event.willCommit properties to determine if the input is valid.

When I've created these in the past I've written a console script to inject the scripts I need into the fields to save time.

Likes

translate

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