Product Logo

CNS Menu

Dynamic Menus

Functions

CNSMenu_GetMenuValue

NameCNSMenu_GetMenuValue
Description

This function will return the user-defined value of the last selected menu item. When defining your menu items, you can specify any data you want, and then that menu item is selected, you can use this function in the script that is called to retrieve that data. If no value is specified for a menu item, this function will return the menu item name just as the CNSMenu_GetMenuChoice function does. FileMaker’s Get (ScriptParameter) function can also be used to retrieve the menu item value.

Return TypeText
FormatCNSMenu_GetMenuValue
Example
Example 1

Returns the value that was assigned to the menu item the user last selected.

CNSMenu_GetMenuValue