You are viewing limited content. For full access, please sign in.

Question

Question

Assigning tokens to check boxes in "Fill out PDF Form" activity

asked on March 13, 2017

I have a PDF form with check boxes configured for completion based on a third party database using custom lookups and the "Fill out PDF Form" activity in Workflow 10.0.0.249.  Everything works as long as I specify a value for each checkbox directly from the "Checked" and "Unchecked" dropdown in the activity's Properties. However, I am unable to check any box by passing a token into the field.  The documentation tells me that values of Yes, 1, Checked or On should check the box, but every value I have tried unchecks the box.  

 

I've developed a workaround for relatively simple forms, by setting the checkboxes to be checked by default.  Separate Fill Out PDF Form activities run in branches of routing activities, assigning Unchecked to the boxes I don't want to check.  This will not scale up well to forms with more than a few check boxes.

 

Is there a trick to passing a token into a PDF checkbox to make it turn "On"?

0 0

Replies

replied on March 13, 2017

That could depend on your PDF. Checkbox fields can be set to accept different values . Do you know what your field accepts?

If there's no sensitive data in it (this is a public site), you could post it here and we can take a look.

0 0
replied on March 15, 2017

The PDF form is provided by a hospital group. The original ("stock") version contains two sets of radio buttons, but the values options for both groups appear as "Checked" and "Unchecked" in the workflow activity.  Since I can't select between 7 options using those two values, I renamed each box to make them unique.  Given the unique names, I can uncheck a given box, but cannot check one.

0 0
replied on March 15, 2017

If you look at the "stock" one, the checkboxes for gender are grouped together. If you open it in Acrobat and look at the field definition, the expected values are actually 1 for Male, 2 for Female.

This is not standard behavior for checkboxes but Adobe allows this design. You can follow the steps in KB 1013645 to turn off Workflow's default behavior for checkboxes and let it expose the underlying values.

0 0
replied on March 15, 2017

I've created the XML file from the KB article, restarted Workflow and the designer, re-imported the "stock" form and created a new workflow with a new fill activity.  My choices for both groups are still "Checked" and "Unchecked".  

 

Should I see the change in the dropdown, or do I have to pass the value in through a token to test it?

 

Does it make any difference that I'm on version 10, which is not listed in the KB article?

0 0
replied on March 15, 2017 Show version history

You put it in the install folder for Workflow, right? The KB article applies to 10 as well but the install folder may be different.

0 0
replied on March 16, 2017

My Workflow Designer runs out of "C:\Program Files\Laserfiche\Laserfiche Workflow 10.1" so I put a copy there. There's also a folder "C:\Program Files\Laserfiche\Laserfiche Workflow 8.3" with files in it so I put a copy there as well just to be sure. I have one other folder, "C:\Program Files (x86)\Laserfiche\Laserfiche Workflow 10", but that one only has SDK files.

0 0
replied on March 16, 2017

How do you launch the Designer? From the desktop shortcut or from the Start menu? Try just double-clicking the Designer exe from the install folder.

0 0
replied on March 16, 2017

That did it!  I changed the shortcut in my start menu to "Start In" the install directory and that works, too.

0 0
replied on March 16, 2017

There's a known issue for that in 10.0. It's fixed in 10.2.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.