derives values from the property sheet (like with form)
hash | returns hash of form values: data entered by user or initial data from the value property. |
function get_form() {
var values = $$('myform').getValues();
console.log(values);
}
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);
}