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.

-token and '+'

Featured Replies

Any idea how to assign "+" to -token without it being parsed into a blank space?

The database I'm designing features a log-in screen where the user enters their institution (eg "University of Victoria") and password. The institution name is then passed throughout the database using tokens - a robust alternative to cookies.

However, unless "University+of+Victoria" appears in the -find request below, a "document contains no data" error occurs:

<A href="FMPro?-db=ProgramInformation&-lay=ProgInfoView&-format=coopdb_proginfo.html&-op=bw&instiname===[FMP-field: insti_input]&-max=10&-token.1=[FMP-field: insti_input]&-find">Program Information</A>

How do you tell FileMaker you *want* to pass on the "+" character???

Not clear why you are using a "+". Not sure that is what you mean.

See the thread this forum "Data formatting". It may provide a clue.

Peace

Keith M. Davie

"I receive a "document contains no data" error if the field value contains spaces."

Instead of "+" it needs formatting with "%20" to take care of spaces. "See the thread this forum 'Data formatting' It may provide a clue."

[This message has been edited by Keith M. Davie (edited February 02, 2001).]

  • Author

> Not clear why you are using a "+". Not sure that is what you mean.

For a -find request performed through a hyperlink (eg <A href="FMPro?-db=ProgramInformation&-lay=ProgInfoView&-format=coopdb_proginfo.html&instiname=[FMP-field: insti_input]&-find">Program Information</A> ), I receive a "document contains no data" error if the field value contains spaces.

If you replace the spaces with "+" characters in the field value, the -find request works. (The FileMaker Pro Developer user guide and CDML Reference feature such an example under "-lop".)

Using tokens, I wish to pass the institution name entered on the log-in page to subsequent pages. Because they also contain hyperlink -find requests, I wish to retain the "+" characters in the field value.

Any idea how to preserve the "+" character than without having -token parse it into a space? Perhaps a special character which must precede the "+"?

Meanwhile, the only solution I can think of is pasting a field value formatted with "+" characters into a global variable and referring back to it rather than a token.

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.