Jump to content
Server Maintenance This Week. ×

Suggestions


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

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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