How I can put required value for a field?