I want to only allow one selection in a list box, but I need to Reduce All Data when delivering my document to others. So I create an OnSelect trigger for the field to only allow one selection, Add Action-> External-> Run Macro.
set field = ActiveDocument.Fields("_Metric")
set fieldProperties = field.GetProperties
fieldProperties.OneAndOnlyOne = true
When I open the document with no data by Desktop Edition, reload data, make selection in the list box, it works, only one selection is allowed. But when I reload data for the document and open it on web, make selection in the list box, I can select multiple things in the list box, seems the macro doesn't work on web.