Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNikos Papapetrou
6,305 PointsHow to prevent unvalidated form submitting?
Hello, I have a code for a real time form validation, but I don't know how to prevent an unvalidate code to be submitted while fetching it. The code is checking the inputs etc. but it doesn't prevent from submitting when I enter false inputs. Like I can send a form with an ivalid mail.
Also how can you add multiple events in an element?
If someone want to have a look in my code and help me it would be nice.
I leave my codepen here: https://codepen.io/nikospapapetrou/pen/qBabgeb?editors=1010
1 Answer
Robert Manolis
Treehouse Guest TeacherHi Nikos Papapetrou , Check out the middle section in this great RegEx course. It's all about validating a form. That should be very helpful for you.
Also, this great new course on Accessibility is worth checking out.
Nikos Papapetrou
6,305 PointsNikos Papapetrou
6,305 PointsThanks, I will chech them up.