Added functions clear/getValues to form elements