We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
I am trying to replace spaces with hyphens using the replace tag. For example. the content might be "Joe Smith" and I want to output "Joe-Smith". Here's my code
<perch:content id="staff_last_name" type="text" label="Staff Last Name" replace=" |-">
but the tag as constructed here is ignored. I've verified that Replace is otherwise working by replacing other alpha characters in the string.
Any thoughts on how to coax Replace into working with a space between characters?
Want to reply to this thread?Login with Perch