Display URL to external site

Permalink Browser Info Environment
Hi, Ive looked through all the documentation as well as the forum posts. Yet my links are not opening correctly.

I have a form that members can submit a business listing to, including their website URL. I need this URL to be clickable, which it is.....yet it tries to open as a page of my website:

e.g.;http://www.mysite.com/business-listings/www.mymemberswebsite.com...

Im using the following code:
<field name="Website URL" placeholder="URL" />
<td><a href="{{URL}}" target="_blank">Website</a></td>


What am I missing?

Type: Ticket
Status: In Progress
Meje
View Replies:
jgarcia replied on at Permalink Reply
jgarcia
The URL's need to start with http://

You can either add this in manually like this:

<a href="http://{{URL}}">{{URL}}</a>


Or you could have a note on the field input asking the users to make sure they start the URL with http://
Meje replied on at Permalink Reply
Meje
Perfect, thank you 😊

concrete5 Environment Information

# concrete5 Version
5.6.3.4

# concrete5 Packages
Advanced Forms (1.13.2.1), Ajax Form (1.3), Auto Copyright (1.5), Bootstrap Image Gallery (3.0.0.5), Clicky Web Analytics (1.3.3), Data Display (2.7.1.4), Easy Accordion (1.1.2), Easy tabs (1.7.2), Enhanced User List (1.6.0), Fileset attribute (1.0), File Templates+ (0.2), Form Tableless Layout (1.2.1), Horizontal Blocks (0.9.3), List files from set (1.0.4), Manual Nav (1.3), Mega Menu (1.5.37), Pro Blog (12.4.4), Pro Events (11.5.0), Pro Media (7.5.0), Pro News (5.1.0), Registrant Group (1.1), Revolution Slider (2.3.8), RonyD Icons (0.9.2), Round Corners On Anything (1.3), Sortable Responsive Gallery (1.8), SuperMint Theme (2.0.7.2), User Info (1.97), Whale Nivo Image Slider (1.2).

# concrete5 Overrides
blocks/pmw_enhanced_user_list, js/ccm.app.js, languages/de_DE, languages/nl_NL, languages/tr_TR, languages/nb_NO, languages/cs_CZ, languages/sk_SK, languages/ja_JP, languages/pt_PT, languages/es_ES, languages/es_AR, languages/vi_VN, languages/fr_FR, languages/ru_RU, languages/it_IT, languages/es_MX, languages/zh_TW, languages/da_DK, languages/ar, languages/sv_SE, languages/ro_RO, languages/sl_SI, languages/fa_IR, languages/he_IL, languages/zh_CN, languages/es_PE, languages/fi_FI, languages/el_GR

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
5.4.45

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 400M
sql.safe_mode - Off
upload_max_filesize - 400M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.