fix checkbox input, add submit method
define validator property