getFieldValues
getFieldValues
The
form.getFieldValues()
method returns a Java Script object that contains values for all form fields.
Examples of use:
Pass all values to a workflow rule:
var result = Workflow.callMethod(ruleId, panel.getFieldValues());
Create a restriction based on values:
var restriction = new Ab.view.Restriction(this.console.getFieldValues());
By default, empty form field values are not included into the object. You can optionally specify that empty values are included:
panel.getFieldValues(true);