January 13, 200125 yr I have a filemaker field that contains a URL. I want to display the field on my results.htm and allow the user to click on it and go to the associated URL. I've tried using <a href=, but it adds the URL to www.mydomain.com. Appreciate any help!!
January 13, 200125 yr 1. your results.htm is displaying data from the appropriate database. 2. your result is with a single record. 3. the field containing the url, the address with which you desire to link, is in the layout which you are accessing in that appropriate database. I will call that field "linkad" Try this: <a href="[fmp-field:linkad]">Try This Link</a> I just did the above in a junk db/format collection I keep for playing with. It worked fine. Peace Keith M. Davie
January 21, 200125 yr Newbies Also if the URL in the field has any special caracters try "[FMP-field: link, RAW]" this does that webcompanion dont encode it into HTML, might be usefull
January 21, 200125 yr quote: Originally posted by Pengo: Also if the URL in the field has any special caracters try "[FMP-field: link, RAW]" this does that webcompanion dont encode it into HTML, might be usefull ... or sumetimes you MUST do it in web format like "[FMP-field: link, URL]" for NN if you will have non URL characters in the URL
February 1, 200125 yr quote: I've tried using <a href=, but it adds the URL to www.mydomain.com. It seems to me that your URL field contains no protocol part in front of it. In this case <A HREF=http://[FMP-Field:Link,raw]> might be a solution.
Create an account or sign in to comment