How do I restrict the options in one field based on the result of another?