Any thoughts on a "Perform Script by Calculation" Method?

Discussion created by cwiltgen86 on Dec 5, 2013
Latest reply on Dec 5, 2013 by user19752

Okay here's what i want to do. I would like to use a popover for a menu which will be on very layout. The problem is I would need to update every layout to make a change to the menu. My thought is to use a sepreate table and add a Portal to the Popover. I would like to be able to specify which script wil run based on what I put in a field in the portal, but i would like to avoid a bunch of "if" statements. The problem is I can't think of a way to call a script by a calculation. Any Thoughts?