Make a field optional or required