dynamic form application

2014-05-10 Thread edd . cowan
hello guys. i tryng to create a form builder application with a database backend. like wufoo.com im stuck,how do i use jquery to create dynamic forms,and how is the database designed for the actual forms and the data gathered using those forms i'd like to use rdbms preferebly postgres.

Re: Dynamic Form

2009-09-24 Thread victorsubervi
in line... On Wed, Sep 23, 2009 at 9:13 PM, BJ Swope bigbluesw...@gmail.com wrote: What is your code not doing? see below Are you winding up with duplicate data in the DB? yes Is your web browser re-submitting the form with the same data if you refresh the screen? yes Is your

Re: Dynamic Form

2009-09-24 Thread BJ Swope
1. Did you try the headers for no-caching of the page? 2. If you wish to avoid dupes in a DB, Primary Keys are the tool to prevent duplicates. On Thu, Sep 24, 2009 at 11:01 AM, victorsubervi victorsube...@gmail.comwrote: in line... On Wed, Sep 23, 2009 at 9:13 PM, BJ Swope

Re: Dynamic Form

2009-09-24 Thread Brian Victor
victorsubervi wrote: On Wed, Sep 23, 2009 at 9:13 PM, BJ Swope bigbluesw...@gmail.com wrote: Is your web browser re-submitting the form with the same data if you refresh the screen? yes I'm surprised no one has mentioned this before, but the standard approach to this problem is to redirect

Re: Dynamic Form

2009-09-23 Thread Victor Subervi
I've been trying the hidden field, but the problem is that when I set the variable flag, it stays in memory. I would rather just pass a var like I've been trying, but I don't think it's possible. Any ideas? Is a session cookie the only way? Here's more simplified code: #!/usr/bin/python import

Re: Dynamic Form

2009-09-23 Thread BJ Swope
What is your code not doing? Are you winding up with duplicate data in the DB? Is your web browser re-submitting the form with the same data if you refresh the screen? Is your web browser pre-filling the fields of the form due to caching? I don't understand what's not working On Wed, Sep 23,

Dynamic Form

2009-09-22 Thread Victor Subervi
Hi; I have a dynamic form in which I do the following: 1) Request two fields (company name, number of entries). That is sent back to the form. 2) If the two fields are not None, the form requests other data. That, too, is sent back to the form. 3) That new data is then entered into a MySQL table

Re: Dynamic Form

2009-09-22 Thread Simon Forman
On Tue, Sep 22, 2009 at 10:46 AM, Victor Subervi victorsube...@gmail.com wrote: Hi; I have a dynamic form in which I do the following: 1) Request two fields (company name, number of entries). That is sent back to the form. 2) If the two fields are not None, the form requests other data

Re: Dynamic Form--Potential purge cache?

2009-09-22 Thread bouncy...@gmail.com
, 22 Sep 2009 11:34:25 AM -0400 Subject: Re: Dynamic Form On Tue, Sep 22, 2009 at 10:46 AM, Victor Subervi victorsube...@gmail.com wrote: Hi; I have a dynamic form in which I do the following: 1) Request two fields (company name, number of entries). That is sent back to the form. 2) If the two

Re: Dynamic Form

2009-09-22 Thread Victor Subervi
wrote: Hi; I have a dynamic form in which I do the following: 1) Request two fields (company name, number of entries). That is sent back to the form. 2) If the two fields are not None, the form requests other data. That, too, is sent back to the form. 3) That new data is then entered

Re: Dynamic Form

2009-09-22 Thread BJ Swope
...@gmail.comwrote: On Tue, Sep 22, 2009 at 10:46 AM, Victor Subervi victorsube...@gmail.com wrote: Hi; I have a dynamic form in which I do the following: 1) Request two fields (company name, number of entries). That is sent back to the form. 2) If the two fields are not None, the form requests