How to set which field MUST be filled in