I have created one page in that there is one field which email restriction in that field we can restrict some of the domains (eg: @edu.com, @outlook.com) mentioned domains will get restricted.
And in Sales Order whenever select Customer if customer is with one of these email domain then it should give error Email is restricted
please suggest
Thank you.