added validator to rex_form fields