| Project: | formsPlayer |
| Version: | 1.5.3 |
| Component: | Code |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Attachment: | validation.html.txt (1.45 KB) |
Description
In some cases, a constraint does not apply to all nodes targeted with an xf:bind. The attached form demonstrates one such case. In this form, entering data such as "hello" into the field should prevent the form from being submitted (as it is an invalid value). Note that this example form will try to save data into a sibling file named "foo.xml".
Updates
#1 submitted by Paul Butcher on Thu, 2007-05-31 16:36
| Title: | Constraint does not apply across multiple instances | » No recalculate/refresh occurs between xf:submit::DOMActivate, and xforms-submit |
This appears to be due to the manner in which we handle deferred update. It would appear that the newly inserted element is not receiving the model item properties associated with the bind until after the submission occurs.
Subsequent requests to submit do not succeed until the appropriate node becomes valid.

Recent comments
6 days 8 hours ago
6 days 8 hours ago
4 weeks 3 days ago
5 weeks 6 days ago
6 weeks 1 hour ago
6 weeks 8 hours ago
6 weeks 2 days ago
6 weeks 2 days ago
6 weeks 2 days ago
6 weeks 2 days ago