Jump to content

This topic is 8234 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

This topic is 8234 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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