RefreshFieldsProcess |
![]() ![]() ![]() |
RefreshFieldsProcess is used to refresh one or more Process Fields or form input elements with the fresh data obtained from a MoreMotion Data Source.
Parameters dataSource (Accepts MScript) The name of a dataSource configuration. The data source should supply only one record ("item" node) that contains the data nodes for the target fields. nodesToEncrypt (Accepts MScript) The names of the data nodes (separated with commas) of the data source whose values have to be encrypted. dataNodes (Accepts MScript) The names of the data nodes (separated with commas) existing in the result record to take the values for the target elements. If this parameter is omitted it is assumed that the names of the data nodes are identical to the target element names. Note that some target process fields require more than one data nodes, e.g. SuggestBox. In that case data node names must be separated with "/" character. targetElements (Accepts MScript) The names of the data nodes (separated with commas) existing in the result record to take the values for the target elements. If this parameter is omitted it is targetElementAttrs (Accepts MScript) The names of the data nodes (separated with commas) existing in the result record to take the values for the target elements. If this parameter is omitted it is responseHandler (Accepts MScript) The name of the response handler Javascript function that will receive the AjaxResponse and manage the refreshing of the fields. Unless a very special treatment is required the value of this element can be left to its default which is AjaxMgr.refreshFieldsResponseHandler. |