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.

Featured Replies

instead of setting a token by a hidden value in a form i want the user to set a token value to a country of their choice

is this possible with a pop up menu confused.gif

Yes, use something like this:

<select name="-token">

<option value="Australia">Australia</option>

<option value="Somewhere">Somewhere</option>

</selection>


Hope this helps.

Garry

  • Author

now i have this token i want to use this to be able to change the field displayed on the next page

so if they select uk

on the next page they will be shown the field - "uk text"

and so on if they select france "france text"

is it possible to put a token into a replacement tag [fmp:field - "token.1" text]

or somthing along those lines

You may want to use [FMP-If] statements; e.g.:

[FMP-If: CurrentToken .eq.UK]

[FMP-Field: uk_text]

[FMP-ElseIf: CurrentToken .eq.France]

[FMP-Field: france_text]

[/FMP-If]


Depends on how many countries you have listed to how practical this is.

All the best.

Garry

  • Author

i am gonna have between 16 and 30 Countries so that could get a bit messy but cheers any way

any other ideas!!!

You could set-up your database so that it uses relational tables. I.E. The main database has a relationship with a file (viewed through a portal) which displays the text for a particular country.

The country_txt.fp5 file would have two fields {country, text}. This text could then be accessed either through a portal in the main file, or directly.

All the best.

Garry

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.