Skip to main content
hollyg27376884
Participant
February 15, 2018
Question

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

  • February 15, 2018
  • 1 reply
  • 365 views

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

This topic has been closed for replies.

1 reply

Legend
February 15, 2018

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

try67
Community Expert
Community Expert
February 15, 2018

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.

Joel Geraci
Community Expert
Community Expert
February 15, 2018

... 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.