Hi all,
I’m trying to figure out a way to tell my users exactly
why their submissions are failing when I encounter the
xforms-submit-error event.
So far I have:
<xforms:submission>
<xforms:action
ev:event=”xforms-submit-error”>
<xxforms:message
if=”xxforms:invalid-binds(event(‘’xxforms:binding’)) = ‘myBindId’”
level=”modal”>Submission failed because…</xxforms:message>
<xxforms:message
if=”xxforms:invalid-binds(event(‘’xxforms:binding’)) = ‘myBindId2’”
level=”modal”>Submission failed because…</xxforms:message>
</xforms:action>
</xforms:submission>
And if there is an error then I do see a message, but I see
messages for the binds that are valid when I shouldn’t. Can someone
please point out what I am doing wrong? I tried following the examples in
the documentation, but it doesn’t seem to work.
Thanks,
Stephanie
Free forum by Nabble | Edit this page |