support required fields on the frontend
provide default validator through handler