clear

clears all the fields in a specified form

void clear( [any config] );
configanyoperation config

Example

function clear_form() {
   $$('myform').clear();
}

Related samples

Details

The config parameter can be of any type (from a string to an object). It will be passed to the onChange event as the last parameter.

See also
  • Articles
  • Back to top
    If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of form control product.