Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Auto Adding of "http://" to the ADD and MODIFY templates

Quote Reply
Auto Adding of "http://" to the ADD and MODIFY templates
Is there a way I can add something to a template so when someone goes to Add or Modify a URL it will automatically input the http:// into the URL space so it will make it easier on people who try to submit without the http:// and have to retype it all again. For now I have added a "note" that they need to use the "http://" but think if it would auto submit it, that it would be a nice feature.
Quote Reply
Re: Auto Adding of "http://" to the ADD and MODIFY templates In reply to
I had some time and went through the templates and figured out the answer on my own. For anyone else interested.. Just add..

value="http://"

..to the url part of the html code in the following templates..

add.html
add_error.html
modify.html
modify_error.html


Enjoy..

------------------