Комментарии:
Thanks James! I've been eager to try kwesforms for form validation. However, I've faced challenges with their website's speed, making it nearly unusable. I hope they can address this soon.
ОтветитьYou can also check response.ok which returns a Boolean if response 200-299.
This might be better then checking response.status != 200
200-299 errors are successful i.e. created or successful get.
I hope noone thinks validation on client-side only is "secure", so good that you address this topic. What drives me crazy, however, is that 1Password popup. 😒
ОтветитьKING! Keep going James. Ma fav. Thank you!
Ответить