Royce Posted December 23, 2006 Posted December 23, 2006 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
Søren Dyhr Posted December 23, 2006 Posted December 23, 2006 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
Royce Posted December 23, 2006 Author Posted December 23, 2006 Soren - Thanks. However, that's for a text block on a layout...I mean text within a text FIELD...or am I missing something?? Thanks! Royce
Fenton Posted December 23, 2006 Posted December 23, 2006 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 -) 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.
Fenton Posted December 23, 2006 Posted December 23, 2006 (edited) 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 December 23, 2006 by Guest
Royce Posted December 23, 2006 Author Posted December 23, 2006 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
Recommended Posts
This topic is 6545 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 accountSign in
Already have an account? Sign in here.
Sign In Now