This project is archived and is in readonly mode.

#205 ✓invalid
designermonkey

Form.Validator.Inline Bugs

Reported by designermonkey | December 5th, 2009 @ 12:29 PM | in 1.2.4.3

I have encountered bugs with this Class in Firefox, Opera and Safari on Mac. Once one field has failed validation, none of the other validators work for the rest of the form. Also the form can be submitted without validation, in a state where it would fail validation.

I can not repeat these bugs on PC as I don't have one working near me.

Comments and changes to this ticket

  • Aaron Newton

    Aaron Newton January 14th, 2010 @ 06:38 PM

    • State changed from “new” to “open”
    • Assigned user set to “Aaron Newton”
    • Milestone set to 1.2.4.3
  • Aaron Newton

    Aaron Newton January 28th, 2010 @ 06:53 AM

    • State changed from “open” to “invalid”

    This is not a bug really. The problem is one of your validators has an error, which breaks validation. You have:

            var sib = $$('input[name='+props.sibling+']');
            return (field.getProperty('value') == sib[0].getProperty('value'))?true:false;
    

    but your selector doesn't seem to return anything (sib[0]) is undefined.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket

Attachments

Pages