Issue Type: Bug Bug
Assignee: Sande Gilda
Components: quickstarts
Created: 24/Feb/14 8:22 AM
Description:

Kitchensink Backbone quickstart is using HTML5 form validation, which is not supported in IE9. Because of that, adding a new member fails in IE9.

A possible workaround is to to perform validation on lines 167-180 of app.js only if HTML5 validation is supported, for example like this:

if(typeof(elemName.get(0).checkValidity) === 'function') {
    // Verify if the name field is valid for the HTML5 constraints specified on it.
    if(!elemName.get(0).checkValidity()) {
        errors.push({$elem : elemName});
    }
 
    // Verify if the email field is valid for the HTML5 constraints specified on it.
    if(!elemEmail.get(0).checkValidity()) {
        errors.push({$elem : elemEmail});
    }
 
    // Verify if the phone number field is valid for the HTML5 constraints specified on it.
    if(!elemPhoneNumber.get(0).checkValidity()) {
        errors.push({$elem : elemPhoneNumber});
    }
}

Server-side validation is then used in IE9.

Project: JBoss Developer Framework
Priority: Major Major
Reporter: Oliver Kišš
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira