getValues

derives values from the property sheet (like with form)

hash getValues();

Returns

hashreturns hash of form values: data entered by user or initial data from the value property.

Example

function get_form() {
    var values = $$('myform').getValues();
    console.log(values);
}

Related samples

Details

To get value of some specific element within the form, you should specify its ID or name.

webix.ui({
    view:"form",
    elements: [
        {view:"text", id:"title", placeholder:"Enter film title"},
        {...},
        {view:"button", click:get_title}
    ]
});
 
function get_title() {
    var title = $$('myform').getValues().title;
    console.log(title);
}
See also
Back to top