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

Question

Question

Forms checkbox fields - how can I get the values not True/False

asked on November 5, 2015

I have a form with a number of checkboxes.

 

I want to list all the entries that are checked in a multi-value field.  So if A. and E. are checked I want the multi-value field to read

Use Variance

Zoning Text Amendment

 

My workflow retrieves the form fields and assigns the form content to the field.

But I get True/False not the values. 

Is there a simple way to make this work (as in now scripting)?

Thanks,

Sandy

0 0

Replies

replied on November 5, 2015

Did you assign values to the checkbox choices in Forms?

0 0
replied on November 5, 2015

Never mind - I should have chosen just the top choice not each of the ones that included "is set".

 

Thanks

0 0
replied on November 5, 2015

From your screenshot, you're using the "Is Set" token which returns a boolean value. The token you want to use for that PL-ApplicationType field would probably just be %(RetrieveLaserficheFormsContent_Type_of_Referral) which is the token that should just represent the checkbox field itself.

replied on November 5, 2015

For what is worth, this setup is not guaranteed to always find the right document. Because the document creation in Forms is asynchronous, the Delay activity might not be long enough to permit Forms to finish the document. And if the same data is submitted multiple times, you could have multiple documents match the search criteria and no control over which one the search returns first.

The safer way would be to trigger the workflow with a starting rule on the document created by Forms. This way you'd always have the right document and eliminating the search would make your workflow more efficient. In order for this setup to work, you need to set the Save to Repository task in Forms to set the instance ID ({/dataset/_instance_id}) and submission ID ({/dataset/_submission_id}) as fields on the document. Then in Workflow, read those fields and pass their values into the advanced properties of the Retrieve Forms Content activity.

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

Sign in to reply to this post.