Ticket #171 (closed defect: fixed)
Validation happens on field that is hidden by the case-control
| Reported by: | bc | Owned by: | mpo |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | modules/kauri-forms | Version: | trunk |
| Keywords: | Cc: |
Description
When using a case-control in combination with a selection-control, it's possible that a validation error is shown despite the fact that the field with the validation-error is hidden by the case control.
When you have 2 (or more) cases and the hidden case has a selection-control, then it seems that the validation (for all the fields in the hidden composite field) occurs when the ajax-call returns the values for the list.
I have attached a sample application which illustrates this. ( start locally and open URL http://localhost:8888/business).
A little side-remark, the validation-error has no cssinfo which indicates that this is an error, so specific markup (e.g. displaying in red) is difficult.