Hi Daniel,
You can use the expression `$number/string() castable as xs:decimal`,
assuming your number field is named `number`, which you put in the
Validations and Alerts tab, as shown below. And the GIF linked below also
shows what this lookalike at runtime.
control-settings.png
<
http://discuss.orbeon.com/file/t119778/control-settings.png>
required-if-number.gif
<
http://discuss.orbeon.com/file/t119778/required-if-number.gif>
You'll let me know if this works for you,
-Alex
-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from:
http://discuss.orbeon.com/--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To view this discussion on the web visit
https://groups.google.com/d/msgid/orbeon/1623450591843-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet