Newbies nathanf Posted February 26, 2001 Newbies Posted February 26, 2001 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
Keith M. Davie Posted February 28, 2001 Posted February 28, 2001 "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
Vaughan Posted March 1, 2001 Posted March 1, 2001 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?
abkaplan Posted March 23, 2001 Posted March 23, 2001 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
Recommended Posts
This topic is 8715 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