add validation and form_set_value
fix language declarations