How do you politely say dietary restrictions?

Follow these instructions: “I just want you to know that I can't eat X. When you're cooking for a group of people, ask them directly in the invitation. The custom question type chosen must be single-line text. Set the question that will be asked to each attendee.

The experts offered some simple phrases so you can politely but firmly share your food preferences.