Loading...

Displaying "Hyperlink or Picture" field type in Custom Display

Displaying "Hyperlink or Picture" field type in Custom Display

  • This topic is empty.
Viewing 2 reply threads
  • Author
    Posts
    • #4870
      Anonymous
      Anonymous
      Participant

      I assume you are asking about Custom Display capability of the qListView. To pass this to the javascript, you need to do the following:
      1. Define the javascript function to split this and then display the results using document.write(…).
      2. In the Results Body property, you can call this javascript like this:
      <script>DisplayLink('<%NameOfHyperlinkOrPictureField%>'); </script>
      That should do the trick.

    • #3818
      Anonymous
      Anonymous
      Participant

      I have a “Hyperlink or Picture” field type that I am trying to display using the Custom Display. At the moment it is display like: The Website, http://www.thewebsite.com but I want it to display like: http://www.thewebsite.com I thought about using the javascript split function but don’t know how to pass the value of the field to the javascript.

    • #7274
      Anonymous
      Anonymous
      Participant

      Thanks Eddy. Of course looking at your solution it seems so obvious now. :o)

Viewing 2 reply threads

You must be logged in to reply to this topic.