Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 08 Oct 2008, 11:40
orryun orryun is offline
Join Date: Aug 2007
Real name: Orr
Check if inserted 'http'

I have a profice field named: field6.
It contains a string with a URL, insereted by the user.

When I display that string, I want to add a link to that location.
The problem is, that if it doesn't include "http://" it doesn't work properly. (if the string is "", it will link to http://mydomain/

How can I automtically add the "http://", if needed?

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 11:54.

Layout Options | Width: Wide Color: