Binding fields to a database

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

Binding fields to a database

Mat Ludlam
Hi, I have done a lot of research and really like the look of Orbeon to manage forms that I need for a project.

Rather than allowing the user complete free reign to create fields I would like to load the designer up with a pre-defined set of fields associated types.

So for example a user may be allowed to layout the form but have only 3 fields in the pallet; Name (text), Birthday (date) and email.  I can then map these back into my database.  The user would not be allowed to create their own fields in this scenario.

Any pointers or help would be really appreciated.

I appreciate that I could generate the XForms definition myself and then have the engine run them but you have such a lovely designer I would really like to use that.

Thanks in advance,

Mat


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Binding fields to a database

Erik Bruchez
Administrator
Mat,

The Form Builder toolbox is configurable:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-builder#TOC-Toolbox

You can see how the built-in text controls are configured for example:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/builder/xbl/text-controls.xbl

-Erik

On Tue, Oct 9, 2012 at 11:40 PM, Mat Ludlam <[hidden email]> wrote:

> Hi, I have done a lot of research and really like the look of Orbeon to
> manage forms that I need for a project.
>
> Rather than allowing the user complete free reign to create fields I would
> like to load the designer up with a pre-defined set of fields associated
> types.
>
> So for example a user may be allowed to layout the form but have only 3
> fields in the pallet; Name (text), Birthday (date) and email.  I can then
> map these back into my database.  The user would not be allowed to create
> their own fields in this scenario.
>
> Any pointers or help would be really appreciated.
>
> I appreciate that I could generate the XForms definition myself and then
> have the engine run them but you have such a lovely designer I would really
> like to use that.
>
> Thanks in advance,
>
> Mat
>
>
> --
> 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
>


--
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