Hi,
Iam validating the controls using xforms:bind. But when iam using constraint attribute with any particular constraint, iam getting error values.
sample program:
<form>
<sample>
<firstname/>
<lastname/>
</sample>
</form>-----------
<xforms:bind ref="sample">
<xforms:bind nodeset="firstname" type="xs:string" required="true()" constraint="matches(.,'[A-Za-z]{6,15}')"/>
</xforms:bind>
The other problem is, I want to display any alert or message to the user when the user enters the invalid values. I tried to use <xforms:alert/>, but the problem is not solved yet.
Regards
Satya K