How can I make some sub-fields required and others not?