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

Question

Question

Retrieving first N characters of variable values

asked on November 17, 2021

If I use a variable in the Instance Name, is there a way to use only the first N characters?

 

Example:

Authorization for Records Destruction: {/dataset/RecordsDescription}

 

If a user inputs a long Records Description, I would only want to use the first 20 characters. Is that possible?  I'm thinking I could create a hidden field on the form, manipulate the RecordsDescription value somehow, and use the variable for that field, but perhaps there is a way to use "in-line" functions with variables that I don't know about.  Something like Left(20,{/dataset/RecordsDescription}).

We are using on prem 10.4.5.  Thank you.

 

0 0

Answer

SELECTED ANSWER
replied on November 19, 2021

No inline features like a Token Editor in Forms as is available in Workflow.

As you expected, you'll need to create another field and use the LEFT formula as you stated

0 0

Replies

replied on November 22, 2021

Thank you, Steve.  I created the hidden field and utilized various functions on the Advanced tab to achieve my purpose.  

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

Sign in to reply to this post.