Jump to content

Hyperlinks within text


Royce

This topic is 6326 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Greetings!

Any way to create hyperlinks in a text field? Meaning, Create a dynaminc text block PORTION to become a button link to act as a button (much like hyperlinkng in html)? i.e.

Text Field

"Four score and [color:blue]seven years ago our forefathers..."

or something like that...

Thanks in advance,

Royce

Link to comment
Share on other sites

Yes it's pretty straight forward, select the text in question and turn the format to underline, then click outside the selection still in the format menu choose "Button Setup" next would probably to choose "Go To Layout" or such...

--sd

Link to comment
Share on other sites

Short answer. No. FileMaker does not have that kind of awareness within a text field. Perhaps it will someday.

A few approaches, none even close to perfect.

1. Pull the URLs out of the field, into a table, so they could show in a portal, as clickable rows.

2. Do the above with a script, using either a Custom Function (though I didn't see one ready-built), or some other processing. It would seem to be possible, if you went through 1 character at a time, gathering the text from "<" to ">".

I have a couple AppleScripts that do this, but doesn't help you, and they are pretty complicated (written by others, obviously :o-)

3. Use some external capability. On Macs we have a Services menu item in every application, mine has an Open URL service (don't know who put it there). But that doesn't help you, and it's clunky anyway; requires selection, requires going to the menu, etc..

4. Select/copy/paste URL into browser (duh).

5. If it's a real web page you're looking at, get FileMaker 8.5 and use the Web Viewer object.

Link to comment
Share on other sites

Here's a Custom Function that could get you started. You'd need to loop through, getting one at a time.

GetTextBetween()

http://www.briandunning.com/cf/584

There's likely more like this at:

http://www.briandunning.com/filemaker-custom-functions/list.php

But it immediately brings up the question of just what is a URL. People tend to write them in various ways as text:

Fenton Jones Consulting

http://www.fentonjones.com

www.fentonjones.com

http://fentonjones.com

Edited by Guest
Link to comment
Share on other sites

Fenton - thanks for the input. A little more input on my part is needed. I'm not going off to a URL, but if I could put links into text, then I could jump off of a text area (from a full text search in a single record) to an image window - more like a text and retrieval software....

I appreciate the thoughts and input.

Regards,

Royce

Link to comment
Share on other sites

This topic is 6326 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.