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.

Deleting a layout by using a script?

Featured Replies

Is there a way to delete a layout that is no longer needed by using a script, or a OnLayoutLoad trigger?

ex. I have first layout as a logon..once user enters correct "code", it moves them on to another layout. I don't want them getting that first layout again ever.

Layouts cannot be deleted by script.

Uncheck the option to display the layout in the layouts menu. That way the user can only get to the layout by a scripted process (or by entering layout mode and scrolling through the layouts, which they should not be able to do anyway).

  • Author

Thanks Vaughan, but what I'm looking for is for a customer to be able to see the layout the very first time they run the file, enter a serial code which will take them to a different layout, and for them to NEVER see the serial layout again when they open the file. I'm sure it can be done by scipting, but I'm very new to FM, ad not a great scripter yet. Any suggestions on which way to go with the script. I've already got the layouts, serial, and everything working correctly, I just need to "hide" the serial layout the next time the file is used. Thanks for your help.

Sounds like you need:

If isempty (serial)

go to layout1

else

go to layout2

end if

in your startup script.

Edited by Guest

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.