Login  Register

RE: Using xxforms:invalid-binds() with <xxforms:message> on submit error

Posted by Stephanie Hall (TT) on Dec 21, 2009; 2:41pm
URL: https://discuss.orbeon.com/Using-xxforms-invalid-binds-with-xxforms-message-on-submit-error-tp974421p976260.html

Could someone please help me with this? 

 

From: Stephanie Hall (TT) [mailto:[hidden email]]
Sent: Thursday, December 17, 2009 4:05 PM
To: [hidden email]
Subject: [ops-users] Using xxforms:invalid-binds() with <xxforms:message> on submit error

 

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

 

               



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws