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

Question

Question

Add Forms checkbox choices from workflow

asked on September 7, 2020

Hi,

I am looking at trying to update my forms Check Box choices based on a token in WF?  Is this possible?

The reason for this is that I want a generic form to be created but the choices in a given field are based off a WF which emails out the form.  Hope this makes sense.

Thanks,

Anthony

0 0

Answer

SELECTED ANSWER
replied on September 7, 2020

This is currently not supported, the checkbox choice need to be defined in the form designer.

1 0
replied on April 23

I am having the same issue.  It's been about 4 years since this was posted.  I am checking to see if this option is available now.

0 0

Replies

replied on September 9, 2020

Hi,

Thanks for all the responses.  I'm actually more concerned with changing the quantity and values of the check boxes on the form based on the WF (which I believe isn't possible).  So, if a WF passes 3 check box options (tokens) they would be available on the form and if the WF passes 6 check box options, these will appear on the form.  Kind of like building the check box element of the form on the fly based on the WF tokens generated.  Think I might need to rethink things.

Anthony

1 0
replied on September 10, 2020 Show version history

Hi Anthony,

What you can do is have a table with a checkbox column and a single-line, and then fill the text into the single-line.

1 0
replied on September 8, 2020

Anthony,

If you're comfortable with using some JavaScript on the form, you can set up a hidden field with values then use JS to check/uncheck those boxes on form load. It's a very janky solution but it should work for your needs. I posted about it before here:

https://answers.laserfiche.com/questions/174781/Checkboxes-populated-by-SQL-Look-Ups

0 0
replied on September 9, 2020

Hi Anthony

I have used a WF token to update single value in a check box in a form such as this but there are a couple caveats you must understand, especially when these Checkboxes are in a table.

 To set a checkbox value in a form, you must assign values to the choices and then pass the value to the field to select that option.

 

FYI, it just happened to be that my Checkbox Variable field was name Checkbox, you would use the fields Variable name

I hadn't figured out how to make multiple selections as they say it is not supported

If the Checkbox fields are in a  multi row table, then you need to use a Multi-value token to set all of the values for each row before passing to the field

 

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

Sign in to reply to this post.