Assign a URL In Code.
Comments
-
You use use client side java script to change the value of label by using "innerHTML". I believe you can search the 7.6 forum for examples, but here's what I can remember:
var oLabel = document.getElementsByTagName("label");
for (var iLabel=0; iLabel < oLabel.length; iLabel++)
{
if (oLabel[iLabel].id = "label tag name")
{
oLabel[iLabel].innerHTML = "URL Link"
}
}But with V9 its much easier, I would recommend using a Label field set to "Caluclated" caption type and reference a hidden text field:
Caption = "HTTP://" + local.txtURLAddress;0 -
I've attached a quick solution that I hope help explain it a bit better.
URL is built dynamically based on the txtURL field. You can change it around to see how it works.
Label1 is the calculated label field that is clickable. You will probably want to add additional tags in there. (ie open in new windows, window mode, etc)
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 155 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories