I would like to validate links inputted by the client, so that if they enter www.somesite.com it needs to convert it to http://www.somesite.com

I know that there is an option in the channel preferences to "Automatically turn URLs and email addresses into links". However, I need to be able to add class names and attributes to the anchor tags which I don't think is possible if I use this option?

How to achieve this?

(there should really be a new type of field just for URLs..)

Thanks in advance.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.