Jump to content

(SOLVED) HTML Link in a Text Field


katepassaro

Recommended Posts

 Hello - 

One field of my report contains a link to another page. Currently, I have this in the text field expression: 

<a href="https://www.sample.com/"+$F{Doc ID#}+"?nav=1">Report Link</a>

Where the three pieces concatenate to create the full link. I have selected "html" in the mark-up drop-down. I am receiving an error because of the format in the text field expression - could you help me identify which piece I'm missing? 

 



Post Edited by katepassaro at 02/27/2012 19:39
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 I found the answer - so I wanted to post it back here for other people that come across this problem. 

I right-clicked on the text field and selected hyperlink. 

In the Anchor Name Expression - I entered the field id: $F{Field}

In the Hyperlink Type I selected Reference, and then in the reference field entered in the following:

"https://www.sample.com"+$F{Doc ID#}+"?nav=1"

Link to comment
Share on other sites

  • 5 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...