You can by using either:
* An XPath constraint, e.g. constraint="matches(., ...some regexp
here...)"
* A schema type, e.g. type="my:email", where that type is defined in a
schema you imported
You seem to be saying you used a schema. How did you define your
regular expressions in that schema?
-Erik
On Mar 27, 2008, at 4:09 AM, adev wrote:
>
> Hi,
>
> In my form there are two input boxes where user input any website's
> url and
> email adderss.
> Is there any way using Bind and Constraint that I can validate the
> email
> address and URL.
>
> how can we use regular expression as constraint while binding it
> with any
> node.
>
> while defining the regular expression in schema quotes( " ) and &
> were not
> allowed where as they could also be a part of URL and email address.
>
> Thanks in advance!!!
>
>
> --
> View this message in context:
http://www.nabble.com/Validating-Email-Address-And-URL-tp16324297p16324297.html> Sent from the ObjectWeb OPS - Users mailing list archive at
> Nabble.com.
>
>
> --
> 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--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
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