Skip 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.

Go to layout using a global text feild

Featured Replies

Hi to all

Can some please help me with this?

I have a dropdown menu that lists 4 different types of address i.e. postal, billing, shipping, and street. Depending on which the user selects (example

If["edit_address = "Billing""]

Set Field ["layout_name", "Status(CurrentLayoutName)"]

Go to Layout {"billing_address_edit"]

End If

I have used a global text for layout_name

Now depending on what the global text field is set to I what to go to that layout.

Is this simple to do, as I am very new to Filemaker.

Thanks for any advice or help with this

Craig

Hi Craig,

If I understand you correctly, I think you are wanting to store a reference to the layout the user starts on so that you can take them back there automatically later on?

If so, the easiest way to do this is to store the layout number, not the layout name. This is because the layout control command in ScriptMaker provides the option to go to a layou;t by number from a field, but not by name. Although it is possible to access a layout by name, but is a little more difficult.

So you would probably be best to change your 'layout_name' field to a 'layout_number' field (with a corresponding change to its data type) and then user the script formulation:

If["edit_address = "Billing""]

Set Field ["layout_number", "Status(CurrentLayoutNumber)"]

Go to Layout {"billing_address_edit"]

End If

Then you will be able to return the users to their starting point using s script with a single step, as follows:

Go to Layout {"layout_number"]

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.