Subj : emailval.js accepts incomplete email addresses To : Codefenix From : Digital Man Date : Wed Sep 04 2024 10:05 pm Re: emailval.js accepts incomplete email addresses By: Codefenix to echicken on Sun Sep 01 2024 09:51 am > Re: emailval.js accepts incomplete email addresses > By: echicken to Codefenix on Sat Aug 31 2024 09:05 pm > > ec> If you *really* want to check if an email address is valid, then > ec> there's a whole rabbit hole of standards and regex fun you can go down. > ec> I have to wonder why/if this is even necessary in the context of email > ec> validation. If the email address is fucked, then the user will not get > ec> validated. If they want to gain access, they'll need to supply a > ec> working address. Sort of a self-solving problem right? > > No, not quite. I must not have made it very clear in my initial post. The > reason why I would want to "pre-validate" an email address is because > someone entered an incomplete one on my system (user@gmail), and it broke > the script because the script (incorrectly) treated the entry as though it > were a QWKmail address. This let the user skip validation and proceed to > main, when it should have screened them out instead. I don't think that's how that script works though. It doesn't "screen people out" (that provide an invalid email address). -- digital man (rob) Sling Blade quote #6: Karl: he should've had a chance to grow up. He would had fun some time. Norco, CA WX: 88.4øF, 30.0% humidity, 1 mph NE wind, 0.00 inches rain/24hrs .