1 Reply Latest reply on Mar 17, 2011 3:19 AM by Sorbsbuster

    Go to Layout based on field values

    tomo17

      Title

      Go to Layout based on field values

      Post

      I have two drop down menus.  How can i script so that it will go to a specific layout based on these values?  the first field has two values, the second field has four values.

      Would it make it easier if i had these fields related ie choose first field and four options come up in second?

      Thanks for any help

      Craig

        • 1. Re: Go to Layout based on field values
          Sorbsbuster

          Do you mean that is you choose A from the first list, and B from the second list, you want to go to The First layout, but if you choose C from the first list and B from the second lst, you want it to go to the Second Layout?

          If that is the case you have a potential for 8 combinations.  You can set a script to Go To Layout Based On Calculation.  Have a Case Statement, like:

          Case (

          Field1= A and Field2 = C ; Layout1 ;
          Field1= A and Field2 = D ; Layout2 ;
          Field1= A and Field2 = E ; Layout3 ;
          Field1= A and Field2 = F ; Layout4 ;
          Field1= B and Field2 = C ; Layout5 ;

          ..etc..
          )

          You could set it as a scipt trigger upon modifying Field2 (though I think I'd prefer a 'Go..' button beside it.)