Hi,

I know that when an element is validated (because there is a type, constraint, or required attribute on a bind _expression_ pointing to that element in the XForms model), the XForms engine adds an xxforms:valid="true|false" attribute to the element. I can access this attribute anywhere I have access to the XForms instance.
My question is - Is there any way to know which particular validation/bind _expression_ (constraint, required or anything else) made the element invalid? My intention is to display appropriate <xforms:alert> message which makes user understand exactly what went wrong. User is not convinced to see all <xforms:alert> messages associated with an element while only one of the many possible constraints is failed.

Thanks and Regards,
Rahul Agarwal

----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
----------------------------------------------------------------------------------------

Reply via email to