September 23, 200322 yr Excuse my ignorance but... Why do I need to designate a layout if I have a custom web form? What is the purpose of the layout tag? Thanks, Jason
September 23, 200322 yr A "-lay" is not absolutly necessary. Here is the explanation from the "CDML Reference" database: What it does Specifies the name of the layout that is used to control which fields are available and how they are displayed. The layout is used to: bind value lists to fields, control which fields are available to be displayed, allow access to related data, set the number of repetitions displayed in a repeating field, and control which fields are listed by the [FMP-LayoutFields] tag. All the best. Garry
September 24, 200322 yr Hi, just a mention of something I had to find out the hard way, 'cos there's no documentation! in a url string or an inline, leaving out the -lay call will work until you start calling related fields, popup menus or portals, then it's essential. regards, jeff
September 24, 200322 yr I guess it is in the: What it does Specifies the name of the layout that is used to control which fields are available and how they are displayed. The layout is used to: bind value lists to fields, control which fields are available to be displayed, allow access to related data, set the number of repetitions displayed in a repeating field, and control which fields are listed by the [FMP-LayoutFields] tag.
September 25, 200322 yr Re: A "-lay" is not absolutly necessary. 1. when there is only one layout, there is no need to designate a -lay. 2. when there is more than one layout and layout 1 will serve the web, since layout 1 is the default.
September 25, 200322 yr The process is much faster when a -lay is specified too. FMP Web Companion has less work to do.
September 25, 200322 yr RE: 2. when there is more than one layout and layout 1 will serve the web, since layout 1 is the default. IMHO -- there is always internal RAW layout 0.
Create an account or sign in to comment