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.

include a file specified by a token

Featured Replies

  • Newbies

Hi all,

I hope someone can help me here, I've tried every combination I can think of... including inline; though I don't understand the syntax of inline yet

I want to specify a format file by the value of a token for example, Token 6 has the value of "pa_form_spec_entry.html"

[FMP-include: [FMP-currenttoken:6]] - this doesn't work

[FMP-inlineaction -include: -currenttoken:6][/FMP-inlineaction] - tyhis doesn't seem right either

Also, some og the postings show curly braces {} - why/when are these used.

Thanks lots for you help

Nathan

"I want to specify a format file by the value of a token for example, Token 6 has the value of "pa_form_spec_entry.html""

To what end.

Your example of fmp-include would indicate the desired end is to fill part or all of another format file. Is that what you are trying to do?

Peace

Keith M. Davie

A format file is very different from an include. Which do you want to specify in the field?

Have you tried -format=[FMP-Field: whatever] yet?

  • 4 weeks later...

Why don't you use [fmp-if]. if your field valuees are not much different use fmp if.

it works.

[fmp-if:currenttoken.eq.whatever1][fmp-iclude:whatever1.html][/fmp-if]

[fmp-if:currenttoken.eq.whatever2][fmp-iclude:whatever2.html][/fmp-if]

[fmp-if:currenttoken.eq.whatever3][fmp-iclude:whateve3r.html][/fmp-if]

while coming to that page let your token pass to that page according to the value of your specified field.

I use that to be able to see the different forms of the specified students.

I take the the list of the students and in an pop up menu I choose the name of the form. That value becomes the value of my token and bu pushinhg a go ( name:-find) button ( in a form ).

And my ifs specifies the htmls.

abkaplan

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.