PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to Hyperlink a Field Label

  1. Is it possible to hyperlink a field value?

    Posted 9 years ago on Monday May 14, 2012 | Permalink
  2. Do you mean a field label or a field value. Your subject and body don't match. :)

    Got a link to your form or a specific example of what you are trying to achieve. Most labels do accept HTML.

    Posted 9 years ago on Monday May 14, 2012 | Permalink
  3. David Peralty

    Not really since HTML inside HTML doesn't work really well. If you want to display the link in the front end, you can display it as a hyperlink but beyond that, it doesn't work well. At least in the recent work I've done on this issue.

    Posted 9 years ago on Monday May 14, 2012 | Permalink
  4. Sorry about that, I did mean field label. So how would I display it as a hyperlink David?

    Posted 9 years ago on Monday May 14, 2012 | Permalink
  5. Field labels do not accept HTML, but choice labels for radio and checkbox fields do. You will need to rely on jQuery to achieve a link in a field label. Here is a thread that may offer some guidance to you:

    http://www.gravityhelp.com/forums/topic/allow-html-in-field-label

    Field Labels don't because thats like using HTML in the Form Title or Post Title where it can pose some issues all over the place if it had HTML in it. However, you can give it a shot with jQuery.

    Posted 9 years ago on Monday May 14, 2012 | Permalink
  6. Ok great, thank you!

    Posted 9 years ago on Tuesday May 15, 2012 | Permalink
  7. No problem, glad to help out.

    Posted 9 years ago on Tuesday May 15, 2012 | Permalink

This topic has been resolved and has been closed to new replies.