Add require state on field to avoid ajax error