Restrict the type of field values

Restrict the type of values