The code is looking for a field "EAU". You don't have this field on your form.
(And regarding this code, it's not simply that blocking certain domains isn't to everybody's liking -- I happen to be okay with the *principle* -- it's that the code does not work. It has blatant errors, both false positives and false negatives, and that's not because of the principle itself but b/c of a bug-filled implementation.)
Thanks, I will change that field reference and then retest.
And yeah, it is definitely not perfect. I just want to limit the major personal addresses though; if someone has the email "@gmail-is-not-my-email.com" then I probably still don't want them to fill out this particular form.
For the record, I would probably want a tool like https://blog.teknkl.com/flowboost-fbemail-for-domains/ and have that as a proper email filter/validator on forms, but right now my stack/config is pretty bare bones; I don't think I'm ready for that level of sophistication.