Home › Forums › Classic DFFS › Using an href in a heading
- This topic has 3 replies, 2 voices, and was last updated 11 years, 8 months ago by
Alexander Bautz.
-
AuthorPosts
-
-
November 3, 2014 at 22:36 #6534
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 -
November 4, 2014 at 08:48 #6538
I must see the URL – to insert the code, wrap it “code tags” from the ribbon above the text field.
Alexander
-
November 4, 2014 at 15:29 #6540
<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….. -
November 5, 2014 at 15:52 #6544
It looks like the double quotes around the href attribute are wrong – try rewriting them.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.