Jump to content

Conditional Menu Trick


signal

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

Recommended Posts

Heres a little trick I just figured out that might help someone else. I was using 5 levels of global conditional menus to drill down to a specific product and grab that products description and price with a lookup.

However, not all products need all five levels. So if you first select something with 5 levels then want to go back and change one of the menus in the middle of the series, the later popups still have data from the first selection even if you don't need it. This screws up your lookup calculation.

I created 4 scripts that clear the menus below and made each popup a button that calls this script then enters that same popup.

level1 menu is a button that:

Set Field (level2,"")

Set Field (level3,"")

Set Field (level4,"")

Set Field (level5,"")

Go to Field(level1)

level2 menu is a button that:

Set Field (level3,"")

Set Field (level4,"")

Set Field (level5,"")

Go to Field(level2)

...etc.

The great thing about this is that the popups can still stay in your tab order. Things only reset if you change your mind about a selection.

The disappearing portal trick won't work because data might still be stored in the hidden popups.

Link to comment
Share on other sites

This topic is 8510 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.