Submitted by viking on 2023/06/18 23:06

I created a hyperlink to a grid in the Doc pane and it works fine.

I then tried to create a 2nd hyperlink to another grid below it in the Doc pane. However, it is then combined with the 1st link.

How do I create two separate links in the same Doc Pane?

Comments

Sorry, but I don't understand the problem...

You can create as many hyperlinks as you want in the Doc pane (as in any Word or email document for that matter):

  • Select some text, Insert > Hyperlink

1. I create a link with text "Goto AdrsBook" and link "AdrsBook". That works fine.

2. I enter edit mode and try to enter some text a few lines down "Goto Welcome".
However this shows as a hyperlink already:

z
Now, with Insert > Hyperlink it shows the text as:
"<P>Goto Adrsbook</P>
<P>&nbsp;</P>
<P>Goto Welcome</P>
<P>&nbsp;</P>

and the link is already there as  "AdrsBook".

I guess that the html code for the first link is not "closed" so that the new text just continues the previous hyperlink text.
How do I close/end the code for the first link, so that I can create a separate new link?

I'll see what can be done, I don't have any control over that part of the editor.

For now, simply remove the hyperlink and create it again, or else add an extra line feed before creating the hyperlink. You can also of course edit the HTML code to fix this. Lots of options for you

1. simply remove the hyperlink and create it again,

To delete completely, I needed to show html code and then delete (a few times). I was then able to enter the two text strings and then add hyperlinks to each one.

 

2. else add an extra line feed before creating the hyperlink

I prefer his method, and that is what I had tried, but I cannot get this to work. I added several extra line feeds (pressing Enter 2-3 times) before I entered the second link (see image above). However, it was still part of the original link.

 

3. edit the HTML code to fix this

How do I do this (I do not know html code)? Here is what the code looks like after the first link has been added:

<HTML><HEAD><META name=GENERATOR content="InfoQube v122h"><META charset=UTF-8><LINK id=SSDef936 rel=stylesheet type=text/css href="D:\@Prog_RB_Portable\InfoQube_latest\AppFiles\default.css"></HEAD>
<BODY style="OVERFLOW: auto"><A href="about:AdrsBook"><P>goto adrsbook</P><P>&nbsp;</P>
<P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>
<P>&nbsp;</P><P>&nbsp;</P></A></BODY></HTML>

I don't know much html, but the closing < / A > (I added spaces) -- that closes the link.

For some reason your new lines are coming in before that. I presume if you go to source you could e.g. create a new line after that closing bracket and work from there.

PS it's very easy to find basic html info online e.g. https://www.wikihow.com/Create-a-Link-With-Simple-HTML-Programming

@Tom,

You are correct. When insert some text after </A> it then displays it as text in regular edit mode, and I can add a hyperlink to that text.
Interestingly, after that, I can add more links by simply hitting Enter and adding the 3rd, 4th link etc (without having to modify the html code).

It is only the 2nd link that have this issue that the new text appears before the </A>

Before creating the first hyperlink, ensure the text has an extra line feed

Most likely you did a Ctrl+A to select the text to create the first hyperlink, this selects all, hence adding text and line feeds get inserted in the <A> tag. This is by design (HTML design that is)

 

>Before creating the first hyperlink, ensure the text has an extra line feed
That still doesn't work for me.

The way I can get it to work now is to view the html code and then delete all code. Even in a virgin Doc pane where I have not entered anything before.
I can then add links1, links2 etc w/o any issues.

Is it possible to not generate any html code in the Doc pane until the user adds something? In other words have the DOC pane completely empty to start?

p.s. I don't use Ctrl-A to select. I just use the mouse to select the text w/o anything else.

How do I ?