2 Replies Latest reply on Jan 3, 2012 12:34 AM by daveealex

    use conditional formating to hide navbar if script is active

    daveealex

      Title

      use conditional formating to hide navbar if script is active

      Post

      I am trying to limit the amount of layouts created in my file, i am already over 200. what can i say i like to use portalsSmile. I have many scripts that goto the related portal record, and pause, which most of them have a navbar. I am finding that many of my users like to click on the navbar instead of clicking on the continue script button. I would like to hide the navbar when the script is active but i can not find a way to do this with conditional formating. Can this be done or do i need to duplicate my layout and remove the buttons?

      Thanks in advance

      David

        • 1. Re: use conditional formating to hide navbar if script is active
          philmodjunk

          You cannot do it with conditional formatting unless your "buttons" are pure text--which means they won't look like typical buttons. Conditional formatting can change text size to make text appear/disappear and can control fill color settings, but not the appearance of borders around the button objects.

          You can make them appear and disappear, but you'd need to use other means. Extra layouts is simplest to set up (I know, not what you want to do here).

          You can put the nav buttons inside an invisible tab control with two panels--one with the buttons and one empty. By giving each panel an object name, go to object can select a panel in the tab control to make the buttons appear and disappear.

          You can put the buttons inside a portal and play games with portal filtering or the value of the fields in the relationship to control whether or not a related record appears in the portal. If there's a related record in the portal, you see your nav buttons. If there is no related record, they have disappeared.

          • 2. Re: use conditional formating to hide navbar if script is active
            daveealex

            Thanks phil, i will give them a try!!