[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?

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…


Make sense? Hope this helps.


1 Like

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:


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