Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7962 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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"]

This topic is 7962 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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