I am trying to see if it is possible to set a variable in a script from a field that is using a pop menu value list. Is this possible?
A pop up menu is simply a device to facilitate or control entry into a field. Once a selection has been made from the list the field contains the data selected from the list. You could then activate a script, perhaps using an OnObjectModify script trigger, to set a variable whose value is simply the contents of that field.
Thank you. So I can set a variable based off of a field that is holding a value list pop up.
yes you can. If the field is just a utility field to hold a temporary value from your value list you could use a Global Field for this. In this case you can set your variable from the field or, because it is a global field, you can directly reference the Global Field regardless of context.
If you use a Global Field it's good practice to clear it out at some point.
Retrieving data ...