How to embed a form with a custom title hyperlink?

  • angelarasmussen
    Asked on September 24, 2016 at 11:51 PM

    after I embed a code I want it to say the title of my form not show the code. I want it to be a link. How do I do this?

  • Mike_G JotForm Support
    Replied on September 25, 2016 at 2:36 AM

    I would like to apologize, but can you help us understand your concern by giving us more information, please? May we know where are you embedding the code and what code are you embedding? 

    Are you referring to this embed code?

    How to embed a form with a custom title hyperlink? Image 1 Screenshot 30

    If you want to have a link to your form to show on your website and then have your preferred text to display for that link, here's what you need to do:

    First, get the link to your form. 

    How to embed a form with a custom title hyperlink? Image 2 Screenshot 41

    Then, use the HTML <a> tag to create a link to your website using the direct link to your form as the value of the <a> tag "href"  attribute.

    http://www.w3schools.com/tags/tag_a.asp

    As for my form above, if I would want it to appear on my website as a link I'll have the following HTML codes below:

    <a href="https://form.jotform.com/62651363781964">This is the link to my form</a>

    Where the part highlighted in yellow is the direct link to my form and the one highlighted in blue is the preferred text I want to be displayed for my link.

    I hope this helps. If, in any case, I have misunderstood your concern, please feel free to contact us anytime. Thank you.

  • angelarasmussen
    Replied on September 25, 2016 at 4:46 PM
    Can I name the link something like "mentor form" and have that show up instead of a www.w3schools.com
    ________________________________
    ...
  • Mike
    Replied on September 25, 2016 at 5:43 PM

    Yes, here is an example:

    <a target="_blank" href="https://form.jotform.com/62454030412139">Mentor form</a>

    Thank you.