Using an href in a heading

Forums Classic DFFS Using an href in a heading

Viewing 3 reply threads
  • Author
    Posts
    • #6534
      Lana
      Participant

      Hi Alexander,
      I attempted to use href html code in a heading. For some reason it keeps inputting the main URL of the site/lists/ and appending the URL I input. So this causes issues on several levels…if the URL is to a SharePoint survey, a document library or a totally different site, it will never work. If the link is to a list within the site, you have to remove the quotation marks and only input the end of the URL that would appear after /Lists/….
      Any help in getting this to work would be appreciated.
      Thanks!
      Lana

      • This topic was modified 9 years, 4 months ago by Lana.
      • This topic was modified 9 years, 4 months ago by Lana.
      • This topic was modified 9 years, 4 months ago by Lana.
    • #6538
      Alexander Bautz
      Keymaster

      I must see the URL – to insert the code, wrap it “code tags” from the ribbon above the text field.

      Alexander

    • #6540
      Lana
      Participant
      <a href=“http://xxxxx.xxxx.xxxxxx/xxxxx/xxxxx/xxxxxTestingArea/TestScripts/ScheduleASATObjectivesforEntities.docx”>Click here to open Scheduler Script.</a>

      This is to a Document Library on my site.
      When the above is entered in the heading, it is appended to the URL for the form itself. So after inputting the above, you save the Tabs page and go back to the form. If you click on the link created by the above you get a blank page. If you go back to the form and hover over it you will see the URL that it is trying to go to at the bottom of the screen. It ends up looking like this:
      http://xxxxxx.xxxxx.xxxx.xxx/xxxx/xxxxxxx/xxxxxxxxxxx/Lists/xxxxxxx/“http://xxxxx.xxxx.xxxxxx/xxxxx/xxxxx/xxxxxTestingArea/TestScripts/ScheduleASATObjectivesforEntities.docx”
      So it is adding the href to the current URL for the form…..

    • #6544
      Alexander Bautz
      Keymaster

      It looks like the double quotes around the href attribute are wrong – try rewriting them.

      Alexander

Viewing 3 reply threads
  • You must be logged in to reply to this topic.