On Tue, 30 Apr 2019 11:35:47 +0200, Robert Kirkpatrick <[email protected]> wrote:

(Newcomer first post)

Hello,

Here is a basic Xform:

When I hover over the error flags, I only get a little question mark.
What can I do to display the error associated with the event, which I can't identify?
As far as I recall, you only get the red X if the value doesn't match the node's type or constraints.

I don't understand why you are getting an X for Item, because that's a string; amount is an integer, and ?0 is not a valid integer value, so that's why you are getting it there.

To get a message to show, you need to include an <alert/> element in the input; for instance

   <xf:label>Amount:</xf:label><xf:alert>Must be an integer</xf:alert>


There must be some binding mistake in the form, here attached, but the messages associated with xforms-binding-error are not displayed.
The bindings are fine. If there were a binding error, the control would not show up.

Hope this helps somewhat.

Steven


Thanks for any help,
Robert.
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to