getValues

gets values from the property sheet

object getValues();
objectreturns an object with form values: the data entered by the user or the initial data from the value property

Example

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

Related samples

Details

To get the value of some specific element within the property sheet, specify its ID.

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