[SOLVED] How to use the :trimmed function?

How can I prevent the from accidentally adding a space after the first name when completing a form?

I think the :trimmed function may be the answer but not sure how to use it for my use case?

1 Like

Hi there, @darren.james7518… if I understand your question correctly, you can add the :trimmed operator to the end of the expression when you are saving the field in the workflow. So, something like this…

trimmed

Make sense? Hope this helps.

Best…
Mike

2 Likes

You could just try find and replace instead to find a space and replace it with nothing OR use regex to remove blank spaces?

Thank you Mike, that worked a treat :slight_smile:

2 Likes

I wasn’t sure what you meant regards regex but since :trimmed did the job all is ok now. Thanks for suggestion though.

1 Like