Simple validation example

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple validation example

Ingoba
Hi,
I am new to Orbeon. Can anybody suggest a link where I can find code for simple validation example?

Thanks,
Ingoba
Reply | Threaded
Open this post in threaded view
|

Re: Simple validation example

Alessandro Vernet
Administrator
Ingoba,

Ingoba wrote
I am new to Orbeon. Can anybody suggest a link where I can find code for simple validation example?
If you want to learn XForms, I'd recommend you go through the tutorial, if you haven't done so already. See:

http://www.orbeon.com/ops/doc/intro-tutorial

It doesn't really cover validation, other than <xforms:bind required="...">, but you will get the most important concepts.

Then you can look at the example "Wizard with Switch" (locally on: http://localhost:8080/orbeon/xforms-wizard-switch/). It has just one validation rule: <xforms:bind nodeset="age" constraint="number(.) >= 0"/>. And then of course, feel free to ask here if there is anything you'd like to do and can't find quite how to do.

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Simple validation example

Ingoba
Thanks Alex. I got good information in this link http://www.orbeon.com/ops/doc/reference-xforms-guide.

Regards,
Ingoba

Alessandro Vernet wrote
Ingoba,

Ingoba wrote
I am new to Orbeon. Can anybody suggest a link where I can find code for simple validation example?
If you want to learn XForms, I'd recommend you go through the tutorial, if you haven't done so already. See:

http://www.orbeon.com/ops/doc/intro-tutorial

It doesn't really cover validation, other than <xforms:bind required="...">, but you will get the most important concepts.

Then you can look at the example "Wizard with Switch" (locally on: http://localhost:8080/orbeon/xforms-wizard-switch/). It has just one validation rule: <xforms:bind nodeset="age" constraint="number(.) >= 0"/>. And then of course, feel free to ask here if there is anything you'd like to do and can't find quite how to do.

Alex