Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Making a working link from a text field

Featured Replies

Hello

I have a database that is published online with cdml. I would like to have the ability for the user to click a link (created by the text in a field) that downloads a local file.

For example...

To download a pdf document in html I would make a url-

http://addresstoserver/file.pdf

How can I insert this information into a FM field, such that when cdml renders the page I have an active link?

I tried entering this

<a href="http://addresstoserver/file.pdf">download pdf</a>

as my text in a field and tried the different text display modes

[FMP-Field:Fieldname,raw]

[FMP-Field:Fieldname,url]

[FMP-Field:Fieldname,html]

[FMP-Field:Fieldname,blank]

Raw came the closest, but IE gives an error when attempting to download.

Any suggestions?

Thanks

[ November 03, 2001: Message edited by: knussear ]

  • Author

I figured it out.

In case anyone else needs to do something like this the html/cdml looks like this

<a href="http://serveraddress/[FMP-Field:Filename]">[FMP-Field:Filename</a>

I was trying to contain the whole link in the text field. How silly I was

smile.gif" border="0

You should be able to put the whole link in a text field (with raw encoding) as well. Dunno why it didn't work.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.