Hyperlink Text Box?

Hi All,

Might be an easy answer but i’ve spent an hour or so on this and can’t wrap my head around it.

I have a custom text box with a UD field attached to the EpBinding,

Users, want to be able to paste links into this box which can then be hyperlinked, so they can just click on the link and proceed,

I’ve looked about and tried a few methods like BPM or Button events but can’t figure out a way of making it so they can use an input link. They all require a URL that cannot be changed by users.

Any ideas I am missing?

There’s a hacky way to do it. You have to hijack the “Search” functionality of a textbox.

I bound this example to TransView.Link

in the Textbox’s Advanced settings, turn on “Enable Search”. (this adds a search icon, but we’re just going to use that as a means to trigger our event).

Now, go up to behavior, and click “On Search Click”.

This will create an event. Add a url-open

PREVIEW:
image

Event fires:

:tada:

6 Likes

I’ve done the same thing and called it done. Now if there was an easy way to change that icon to something other than a magnifying glass… we’d have a cherry on top.

1 Like

Perfect, absolutely spot on to what I needed,

Thanks again David, really appreciate the help and easy to follow guide!

2 Likes

I wish. An alternative approach would be to put a button right next to the textbox (using whatever mdi icon you want) and use the onclick of that button to do the URL open.

Either way, the user has to click a button vs an actual hyperlink. Its just cosmetics and form layout preference really, I suppose.