clears all the fields in a specified form
config | any | operation config |
function clear_form() {
$$('myform').clear();
}
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.