Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RequiredIfValidator + other validators...

    Using
    GWT 2.5.0
    SmartGwt 3.1p Friday, November 23, 2012 12:25:00 AM
    FF 6.0.2

    I have a form with an IntegerItem that has an 2 validators: an IntegerRangeValidator (1, 10), and a RequiredIfValidator with a RequiredIfFunction that just returns false, meaning that the field is not required.

    If I enter a value of 0 and validate the form, the IntegerItem is marked as required required (it gets a bang icon to its left and the text becomes bold), but it has no error message.
    Is this expected behavior?

    Also, if a field is disabled via "disable ()", it seems to me that it still participates in validation, meaning if it has bad data, and the form is validated, it fails validation.
    Is this intended?
Working...
X