Documentation

getValues

derives values from the property sheet (like with form)

array getValues();

Returns

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

See also

Example

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

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);
        }
Back to top