Jump to content

Hiding part of a layout with a check box?


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

Recommended Posts

Posted

Very simple; I want to deny access to part of a layout unless a specific checkbox set is marked as "Yes". How would I go about doing this?

Posted

Since you have vs. 11, create a self-join table occurrence on x (cartesian product). Then create a one-row portal of the self-join table and make it large enough to hold your 'part of the layout'. Filter the portal to boolean calculation of:

checkbox = "Yes"

This is known as visibility and is easy in vs. 11. BTW, make the portal transparent with no lines. Then the fields will pop onto the layout when the checkbox is checked and disappear when it isn't.

Posted

The object that I'm actually trying to hide is a portal. Does FMP 11 allow a portal to display inside of a portal?

Posted

You can't have a portal inside a portal.

But you can put your portal in a tab control with no visible tabs and use an OnLayoutLoad or OnRecordLoad script trigger to go to the correct tab panel.

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