the walker Posted July 16, 2002 Posted July 16, 2002 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
Garry Claridge Posted July 16, 2002 Posted July 16, 2002 Yes, use something like this: <select name="-token"> <option value="Australia">Australia</option> <option value="Somewhere">Somewhere</option> </selection> Hope this helps. Garry
the walker Posted July 16, 2002 Author Posted July 16, 2002 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
Garry Claridge Posted July 16, 2002 Posted July 16, 2002 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
the walker Posted July 17, 2002 Author Posted July 17, 2002 i am gonna have between 16 and 30 Countries so that could get a bit messy but cheers any way any other ideas!!!
Garry Claridge Posted July 17, 2002 Posted July 17, 2002 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now