Dynamically generated embedded forms?

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

Dynamically generated embedded forms?

Bob
I'm new to Orbeon Forms and trying to understand whether I can use it on a project. The system needs to dynamically generate forms based on user data. The user data varies - one form will have First Name, Last Name fields; another will have a list of items with description and quantity. Whatever the data, the system will need to generate an appropriate form for data entry, and then present this form for input. The form will be displayed either as part of a portlet (like Liferay) or in a popup window.

Is it feasible to use Orebeon Forms in this manner?

Thanks.

Bob
Reply | Threaded
Open this post in threaded view
|

Re: Dynamically generated embedded forms?

Alessandro  Vernet
Administrator
Bob,

On Sun, Oct 25, 2009 at 10:24 AM, Bob <[hidden email]> wrote:
> I'm new to Orbeon Forms and trying to understand whether I can use it on a
> project. The system needs to dynamically generate forms based on user data.
> The user data varies - one form will have First Name, Last Name fields;
> another will have a list of items with description and quantity. Whatever
> the data, the system will need to generate an appropriate form for data
> entry, and then present this form for input. The form will be displayed
> either as part of a portlet (like Liferay) or in a popup window.
>
> Is it feasible to use Orebeon Forms in this manner?

Yes, you can decide whether to show some form controls to users
depending on some initial data. You would show/hide controls using
<xforms:bind relevant="..."/> expressions. You will find more on how
to load the initial data in this how-to:

http://wiki.orbeon.com/forms/how-to/load-initial-form-data

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet