Re: How to create a form with dynamic number of fields?

2008-11-18 Thread Ronny Haryanto
On Sun, Nov 16, 2008 at 12:14 PM, Low Kian Seong <[EMAIL PROTECTED]> wrote: > Could anyone here please let me know of the logic or example of doing > a form with dynamic number of fields (ie. a field with a 'Add more > field' button). I know how to do it using javascript. However it's the > logic

Re: How to create a form with dynamic number of fields?

2008-11-16 Thread Low Kian Seong
Thanks Ryan for the reply. Another idea that came to me is can we make an input like a list? as in wrote: > > I've recently had a situation where I needed to create dynamic forms > and corresponding code to handle them. > > One thing that you should know about python is that there's nothing

Re: How to create a form with dynamic number of fields?

2008-11-16 Thread Ryan Witt
I've recently had a situation where I needed to create dynamic forms and corresponding code to handle them. One thing that you should know about python is that there's nothing special about classes, you can take a collection of attributes and methods and use them to create a new class on-the-fly

Re: How to create a form with dynamic number of fields?

2008-11-16 Thread Ryan Witt
I've recently had a situation where I needed to create dynamic forms and corresponding code to handle them. One thing that you should know about python is that there's nothing special about classes, you can take a collection of attributes and methods and use them to create a new class on-the-fly

How to create a form with dynamic number of fields?

2008-11-15 Thread Low Kian Seong
Dear all, Could anyone here please let me know of the logic or example of doing a form with dynamic number of fields (ie. a field with a 'Add more field' button). I know how to do it using javascript. However it's the logic behind that gets me. Suggestions? -- Low Kian Seong blog: