Image Hyperlink

  • summerstudy
    Asked on February 5, 2016 at 11:24 AM

    I have an image as a header to one of my forms.   Can I add a hyperlink to it like I did here?  I don't see how.

     

    Image Hyperlink Image 1 Screenshot 20

  • David JotForm Support
    Replied on February 5, 2016 at 12:09 PM

    Click on Text and the text field will be added to the form, click on Edit HTML

     

    Image Hyperlink Image 1 Screenshot 30

    After that, click the "Source button:

    Image Hyperlink Image 2 Screenshot 41
      Add your image hyperlink code in the source section, save the source entry then click on "Complete" for your text field.  That should add the image hyperlink to your form.

  • summerstudy
    Replied on February 5, 2016 at 12:46 PM
    I don’t want any text. Only the image. Can a hyperlink be added to the image?
    ...
  • David JotForm Support
    Replied on February 5, 2016 at 12:49 PM

    The text field allows for HTML to be added to your form.  In the source section, you would enter the following:

    <a href="http://www.summerstudy.com"><img src="//www.jotform.com/uploads/forum/summerstudy/14546893512016%20Logo%20for%20Website.png" alt="Image Hyperlink Image-0" width="400" /></a>

  • summerstudy
    Replied on February 5, 2016 at 1:45 PM
    Got it. Thanks!
    ...
  • David JotForm Support
    Replied on February 5, 2016 at 1:49 PM

    Glad to hear it!  If there is anything else we can help you with, just let us know.

  • summerstudy
    Replied on February 5, 2016 at 3:46 PM
    Is there perhaps and extra piece of code that should not be there? This is what I get…
    [cid:image001.png@01D16028.0E0C23D0]
    ...
  • David JotForm Support
    Replied on February 5, 2016 at 4:01 PM

    I set up a quick test form with only a "Text" field and the code added:

    https://form.jotform.com/60356733052956

    You can clone it to see the fields settings if you'd like:

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    It appears to be working on my end.  It should work in your form as well.

  • summerstudy
    Replied on February 5, 2016 at 4:46 PM
    Perfect. Thanks!
    ...