Hi Romek,
You could use `xxf:valid()` to figure if the provided email address is
valid. I think this would make more sense, so that email isn't checked, in
the same form, with 2 different set of rules. Then maybe something along the
lines of the expression below could work. Also, note that `matches()`
expects a regex as the second argument (not an XPath expression).
if ($numer != '' and xxf:valid($email)) then concat($numer, '#', $email)
else .
You'll let me know if this helps.
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 post to this group, send email to
[hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet