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

Question

Question

Forms Checkbox Variables

asked on May 30, 2017

Hello,

I am trying to grab variables from an LF Forms Checkbox

And have them populate a multi value field in the LF Repository upon submission.

This part I have gotten to work, but when assigning Values to the Checkbox Choices, a ‘_’ is added in place of a space.

Which in turn in transposed to the Metadata fields in the LF Client.

I would like to remove the ‘_’ and replace it with a space so it appears as it does on the Form itself, but have had 0 luck.

As the Form/Workflow currently works the selections come in as a single variable

Help is appreciated as always.

Darren

0 0

Replies

replied on June 4, 2017

Blank space is not allowed in checkbox values and there is no way to update the value in Forms; if you are assigning metadata in Workflow, can you try if Workflow supports updating field value and changing the "_" back to blank space?

0 0
replied on June 5, 2017 Show version history

Yes, that is what I am aiming to do, replace the "_" with a blank space in the workflow.  However, I have been unable to get that to work. I cannot seem to get the list recognized as a multi-value token.  If I could do that then I could do use a ‘For Each Value’ Activity and could easily remove the "_", I have been unable to get the list recognized as multi-value token.   How to do that would be helpful, or another work around would be great.

0 0
replied on June 5, 2017

What do you mean you can't get it recognized as a multi-value token?

Checkbox form fields generate multi-value tokens in Workflow. For Each Value will expand it into multiple iterations when the workflow runs.

0 0
replied on June 5, 2017

Hello,

When I retrieve the Form Content from the checkbox variable it brings all selected boxes in as 1 multi-line token:

It seems that when I use 'For Each,' and 'Conditional Sequence' Activity to determine if there is a '_' in value, the workflow starts with the first item on the retrieve list, so when I 'Assign Field Values' based on current value I only seem to be getting the value at the top for the list in my Metadata Fields.

 

 

 

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

Sign in to reply to this post.