« Return to Thread: xforms:message action on xforms-submit-error

Re: xforms:message action on xforms-submit-error

by rssc :: Rate this Message:

Reply to Author | View in Thread

Hi again,

While a wrongly referenced element was the problem in one case, I had another case where it did not work, even if I did not reference an element but directly put the text.
I was able to further isolate the problem and it seems that xforms:message does not work if it is called in xforms-submit-error of a submission which itself was called by xforms-ready. If I call the submission from an xforms:trigger it works without problems.

Is this by design that xforms:message cannot be used if it is in the wake of xforms-ready?

Cheers,

Roman

fs(ops-users) wrote:
hi Roman,

>                 <xforms:action ev:event="xforms-submit-error">
>                     <xforms:message
> ref="instance('resource-instance')/some-other-message"/>
>                 </xforms:action>

is the xpath pointing to the referenced element correct?

florian

 « Return to Thread: xforms:message action on xforms-submit-error

LightInTheBox - Buy quality products at wholesale price!