Forum
Remove spaces from field
Is there a way to remove spaces from a text field.
I have tried using replace=" |"
but it doesn't seem to do anything.
For example, I have a simple text field holding a phone number. the phone number is entered like 01452 000 000 but I would like to output like 01452000000.
You'd need to use a template filter to achieve that.
https://docs.grabaperch.com/api/template-filters/
Thats great, didn't realise this was available - Got a simple one setup and working.
Thank you Drew