Disable hyperlink, but keep showing it?

CedarTree

Registered User.
Local time
Today, 18:53
Joined
Mar 2, 2018
Messages
440
Hi - in an RTF enabled text field on a form, I'd like hyperlinks to show up formatted (underlined, etc.) which is already happening. However, I don't want the user to be able to actually click on the hyperlink and open the link automatically (I have another feature that does this, and I don't want people opening large files by accident, just by clicking into the text field). Is there a way to keep it as RTF and yet disable the automatic opening of hyperlink? The only way I can do this right now is to do enabled = false, but that's not ideal.

Thanks!
 
Hmm, the only thing I could think of is to not use a hyperlink at all and simply format the text to look like a hyperlink. Probably not much help, but that's all I can offer for now. Sorry.
 
Hi - in an RTF enabled text field on a form, I'd like hyperlinks to show up formatted (underlined, etc.) which is already happening. However, I don't want the user to be able to actually click on the hyperlink and open the link automatically (I have another feature that does this, and I don't want people opening large files by accident, just by clicking into the text field). Is there a way to keep it as RTF and yet disable the automatic opening of hyperlink? The only way I can do this right now is to do enabled = false, but that's not ideal.

Thanks!

I'm a little puzzled was to why you would want to show a hyperlink as being clickable, yet not clickable?. :confused:

I can envisage a lot of calls to support, saying the link is not working.?:(
 
There would be clear instructions. When people double click on the field, it opens a much larger form that allows them to more easily edit/view the field. Within that LARGER field, I want them to be able to click. But on the "smaller" datasheet, I fear they would click in just to edit, and end up running hyperlinks.
 
There would be clear instructions. When people double click on the field, it opens a much larger form that allows them to more easily edit/view the field. Within that LARGER field, I want them to be able to click. But on the "smaller" datasheet, I fear they would click in just to edit, and end up running hyperlinks.
So, would it be possible to use two different sets of data source, one for each form, where the one for the datasheet is not a hyperlink and the one for the larger form is?
 
Hmmmm... that's an interesting idea. Let me think about that one.
 
So, would it be possible to use two different sets of data source, one for each form, where the one for the datasheet is not a hyperlink and the one for the larger form is?

Or use a function to remove the hyperlink from the url?
Is that possible?
 
Or use a function to remove the hyperlink from the url?
Is that possible?
One way I am thinking as an approach is to use the PlainText() function, but it will also affect all the other RTF codes that may be in play as well. And then afterwards, the text will have to be cleaned up to remove the tags. Perhaps if we knew how the hyperlinks were created in the first place, maybe we could handle it from there.
 

Users who are viewing this thread

Back
Top Bottom