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
Auto add "http://" to the front of link fields if missing?
One field that I use quite often on client sites is a text field for links. I either leave a help note informing the clients to omit the "http://" in front of their link (because I've added it in the Perch template), or the opposite: leave a help note informing them that they need to remember to include "http://" in front of their link (because it isn't in the Perch template).
Is there any way in Perch to apply some logic to a field used for a link, one that would leave a field's contents alone if it spotted a "http://" in front, or that would add "http://" if it wasn't found? This would client-proof the link field as well as let me omit the help text and streamline content entry.
Want to reply to this thread?Login with Perch