3 Replies Latest reply on Jan 4, 2013 1:02 PM by philmodjunk

    Need simple example of how to set a variable based on value in drop down list

    WilliamK

      Title

      Need simple example of how to set a variable based on value in drop down list

      Post

           Hi, I'm a FM newbie with FM 12.  Just need a simple example of a script that will pop up a drop down box and allow me to select a text value.  That value will be assigned to a variable that I will use elsewhere in the script.  So in other words I wnat to create a script that will prompt user for imput based on drop down lists.  Heres the way I think I need to do it.  Tell me if there is a better way.

           1.  Create a layout with a dropdown list and a button.

           2.  When the button is pressed have it set a variable to the dropdown list value.

           If that is correct can someone give me an example of a simple script that will do all this?