Usable in popups opened by menuItemPopup. Sets the given value to the field indicated by the
inputName parameter to menuItemPopup and then closes the popup. If the menu item is not a popup then behavior is undefined.
This function is unable to set the value of fields in multirows.
Value to assign to the field.