PDA

View Full Version : Textbox Validations shows only one error message



avivenna
31 Oct 2012, 9:52 AM
Hello,

I have a grid with row editor and one of the columns I am editing is a textbox. It has multiple validations like

1. Not blank ( I used allowBlank = false and blankText)
2. I used Regex and regex text
3. column should have unique values ( I incorporated this by matching against store)
4. some names restricted.

When I try to edit the validations show correct ( I mean even if it violates one of the above validations it shows red) but the problem is in all the cases the message shown is blankText message.

If I comment out allowBlank = false and blankText, other validations are perfectly working

Any suggestions to resolve this?

Thanks

mitchellsimoens
2 Nov 2012, 6:16 AM
If the value is empty, the only validation that will be fired is the one for allowBlank.

avivenna
2 Nov 2012, 7:53 AM
Its a bug in ext 4.1.2

If its empty it shows the blankText, but if it violates any other validation still it shows the blankText.

This works fine in 4.1.1