Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Why do I need to designate a layout?

Featured Replies

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

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

  • Author

Thanks!

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

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.

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.

The process is much faster when a -lay is specified too. FMP Web Companion has less work to do.

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

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.