July 16, 200223 yr 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
July 16, 200223 yr Yes, use something like this: <select name="-token"> <option value="Australia">Australia</option> <option value="Somewhere">Somewhere</option> </selection> Hope this helps. Garry
July 16, 200223 yr 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
July 16, 200223 yr 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
July 17, 200223 yr Author i am gonna have between 16 and 30 Countries so that could get a bit messy but cheers any way any other ideas!!!
July 17, 200223 yr 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