Api.setFieldValueFromPopup

Alternatives

You can use the Execute or NewEdit component's admin_setfieldvaluefrompopup column instead.

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.

Usage

Api.setFieldValueFromPopup(value)

Parameters

value : object

Value to assign to the field.