Button to save user entered data to a table.

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

Button to save user entered data to a table.

VKB
Hello,

I have created a form in orbeon with 3 fields. FirstName, lastname and emailaddress. I would like to add a button(which submits data when clicked on it)

Database I am using is Mysql

Can someone help me by providing steps?


Thanks,
Krishna.
Reply | Threaded
Open this post in threaded view
|

Re: Button to save user entered data to a table.

Erik Bruchez
Administrator
Krishna,

Use Form Runner. It has a builtin Save button and MySQL persistence layerl

-Erik

On Wed, Sep 1, 2010 at 7:54 AM, VKB <[hidden email]> wrote:

>
> Hello,
>
> I have created a form in orbeon with 3 fields. FirstName, lastname and
> emailaddress. I would like to add a button(which submits data when clicked
> on it)
>
> Database I am using is Mysql
>
> Can someone help me by providing steps?
>
>
> Thanks,
> Krishna.
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Button-to-save-user-entered-data-to-a-table-tp2403337p2403337.html
> Sent from the Orbeon Forms (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
>
>


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

Re: Button to save user entered data to a table.

VKB
Erik,

Thanks for your quick reply.

I created the below said form using form builder. I have saved and published the form and entered data in it to save. Is that not the Form Runner? If not whats the form runner and how can we use it with mysql as db?
Can you be more clear on this

I am able to fetch data from my database but not able to save data to my database.

Thanks,
Krishna.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Button to save user entered data to a table.

Erik Bruchez
Administrator
Krishna,

Yes, that's Form Runner. It uses a persistence API, documented here:

http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes

We have a MySQL persistence layer which you can enable:

http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/mysql-persistence-layer

Now it stores data into its own tables. If you need a different
layout, you will have to write your own implementation of the
persistence APIs.

-Erik

On Thu, Sep 2, 2010 at 4:37 AM, VKB <[hidden email]> wrote:

>
> Erik,
>
> Thanks for your quick reply.
>
> I created the below said form using form builder. I have saved and published
> the form and entered data in it to save. Is that not the Form Runner? If not
> whats the form runner and how can we use it with mysql as db?
> Can you be more clear on this
>
> I am able to fetch data from my database but not able to save data to my
> database.
>
> Thanks,
> Krishna.
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Button-to-save-user-entered-data-to-a-table-tp2403337p2512318.html
> Sent from the Orbeon Forms (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
>
>


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