Results 1 to 3 of 3
Thread: AJAX and HTML5 Validation
Jul 31, 2012, 15:32 #1
AJAX and HTML5 Validation
Thanks everyone.PHP is FUN
Aug 1, 2012, 02:19 #2
- Join Date
- Jan 2007
- Christchurch, New Zealand
- 61 Post(s)
- 3 Thread(s)
Use setTimeout and return false to prevent the form from being submitted.
With that setTimeout, set it to something like 100ms so that your delayed function can check the form and then submit it, if appropriate.Programming Group Advisor
The 2013 SitePoint Awards - Nominate your heroes now!
Aug 1, 2012, 06:13 #3
Thanks Paul, but I ended up just using jquery validation, since its more reliable anyway.
Thanks anyway though.PHP is FUN