monster.ui.getFormData()#

Syntax#

monster.ui.getFormData(rootNode[, delimiter, skipEmpty, nodeCallback, useIdIfEmptyName]);

Parameters#

The parameters are the same than the form2js function.

Description#

This method is a wrapper of the form2js function. Its goal is to clean the object returned by form2js of all empty keys when the form passed as a parameter contains inputs without a name parameter.

Edit this page here