How can I output the title field with “%20” between each word? My mailto link is not validating because of the spaces, like:
mailto:?subject=My Title
I need:
mailto:?subject=My%20Title
Thanks a lot!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you need to do is “URL encode” the title (that is, you need to convert any invalid chars to percent encoding, spaces aren’t the only problem).
This plugin on Devot:ee sounds like it should do just the trick: URL Encode