Forum Moderators: open
I have a site that has an asp form on it. The thing is, people can enter in a url that the form uses later in the process. The "http://" is added on automatically in the form. So the user can only add in the "www.site.com" part of the url. However, if there's a really long url and they copy it into the URL field in the form, they sometimes forget to remove the "http://" and then get an asp error. I thought about creating an error for this so the user can understand what is going on, but thought that wouldn't be the professional way to handle it. Which leads me to my question:
Is there anyway to see if a user has inputted the "http://" in to the field, and if so, delete it, or if they haven't entered it, add it to the url?
Any help would be much appreciated. Thanks in advance!
-Trae