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

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

Recommended Posts

Posted

I have one layout that contains job information.

There's one field named Status.

The Status can either be 'not approved' or 'approved' .

If the status is not approved I need the users to see only a few fields, when the status becomes approved, I'd like them to see more fields.

What I did is designing 2 tabs one for not approved and one for approved and using ZippScript I made a script that goes to the right tab when you change the value in the Status field.

All works well until you navigate to the next record. At that point the default tab kicks in whether the status is approved or not...

Should I change my approach to the problem?

Any suggestions?

Thanks!

Posted

You may want to look into these although I do try and stay away from EventTriggers:

http://www.zipptools.com/

http://www.fmforums.com/forum/showtopic.php?tid/193376

Posted

Create a new field in the table, a calculation field with a text result = "Approved". Creae a TO of the same table and relate the two primary keys together (a self join). To that relationship criterion add

cApproved = Status.

Put a large one row portal on the layout showing the extra fields. They'll only be visible when the status is "Approved".

Posted

You can trigger a script when changing records, by putting the trigger calc in custom record access privileges.

Posted

I am not saying that I do not use them but sparingly since they are not native to FM. Furthermore, if not properly done it can cause headaches from a management standpoint.

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