Quantcast

Dynamic forms and jQuery

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Dynamic forms and jQuery

Spencer-8

I'm trying to create an order form where the user starts out with a
single row of form inputs for entering quantity and part number. The
user should be able to click the "add row" which creates the next row
of form inputs. When all rows have been filled in, the the user will
submit the form and the back-end PHP script will process the name /
value pairs.

Does anyone know of an example like this that I could learn from? Are
there any jQuery plug-ins that might make working with dynamically
adding form elements more streamlined?

Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dynamic forms and jQuery

Jason Huck

Here's an example I put together for someone a while back:

http://devblog.jasonhuck.com/assets/infiniteformrows.html

HTH,
Jason




On May 15, 3:13 pm, Spencer <[hidden email]> wrote:

> I'm trying to create an order form where the user starts out with a
> single row of form inputs for entering quantity and part number. The
> user should be able to click the "add row" which creates the next row
> of form inputs. When all rows have been filled in, the the user will
> submit the form and the back-end PHP script will process the name /
> value pairs.
>
> Does anyone know of an example like this that I could learn from? Are
> there any jQuery plug-ins that might make working with dynamically
> adding form elements more streamlined?
>
> Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dynamic forms and jQuery

Web Specialist
In reply to this post by Spencer-8
Jorn haves a great job and can help you with:

http://jquery.bassistance.de/validate/demo/dynamic-totals.html

This example validates the dynamic added rows.

Cheers
Marco Antonio

On Thu, May 15, 2008 at 4:13 PM, Spencer <[hidden email]> wrote:

I'm trying to create an order form where the user starts out with a
single row of form inputs for entering quantity and part number. The
user should be able to click the "add row" which creates the next row
of form inputs. When all rows have been filled in, the the user will
submit the form and the back-end PHP script will process the name /
value pairs.

Does anyone know of an example like this that I could learn from? Are
there any jQuery plug-ins that might make working with dynamically
adding form elements more streamlined?

Thanks.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dynamic forms and jQuery

alixxx
In reply to this post by Jason Huck
Hi Jason.

Can you post some php code that works as an example to process that thing you did.

I have no idea what to do and I'm begging around for help.

Thanks!
Jason Huck wrote
Here's an example I put together for someone a while back:

http://devblog.jasonhuck.com/assets/infiniteformrows.html

HTH,
Jason




On May 15, 3:13 pm, Spencer <spencerwh...@gmail.com> wrote:
> I'm trying to create an order form where the user starts out with a
> single row of form inputs for entering quantity and part number. The
> user should be able to click the "add row" which creates the next row
> of form inputs. When all rows have been filled in, the the user will
> submit the form and the back-end PHP script will process the name /
> value pairs.
>
> Does anyone know of an example like this that I could learn from? Are
> there any jQuery plug-ins that might make working with dynamically
> adding form elements more streamlined?
>
> Thanks.
Loading...