Giter VIP home page Giter VIP logo

Comments (3)

mberg avatar mberg commented on July 29, 2024

Mark had some excellent ideas on this. Mark can you elaborate.

On Wed, Oct 26, 2011 at 1:29 PM, amarder <
[email protected]>wrote:

Reply to this email directly or view it on GitHub:
#36

from formhub.

mejymejy avatar mejymejy commented on July 29, 2024

Hmmm here goes...

I think it would make sense to separate the idea of a survey that the user is trying to perform from the actual form that is generated and used on the phone. If we add an extra level of containment such as a survey can have multiple form versions, then we can actually save all of the forms as they are now, and sort of group them in a versioned fashion under the survey. The user can "add a new version" or maybe simply "update your survey form." This would save a completely new form with it's own id and version number under the given survey. This way we would have less of a need to delete old forms (just make a new version) and could continue to collect data for a given survey using an older version of the form (for example, maybe all the phones are not up to date). One thing that might be necessary would be to embed the version id inside the xform such that submissions to the user's url could be directed to the correct survey form version. There may need to be some trickery to make sure that the forms show up on the phone in a nice way (my form (v1) or whatever). The nice thing about this, though, is that it keeps the user thinking about the continuity of their data collection as surveys whereas the backend can see things as separate for the needs of data integrity and uniqueness of ids. What is more is that you would have all of the versions of the forms/data together and could export all of them if you wanted to attempt to merge them offline.

Anyways, I am sure there are other issues, but I think that something along these lines would make sense. Would like to know your guys' thoughts/feedback. Maybe a skype call or something would be better...

from formhub.

amarder avatar amarder commented on July 29, 2024

I vote to move back to delete actually deleting XForms. We should give
users two options:

  1. Archive, this will act like archiving in gmail. The form will be
    moved out of the inbox so it won't show up on the front page, but we
    can look at all forms by clicking all forms.
  2. Delete, this will delete the form and everything connected to it.
    It sounds like users need to be able to delete surveys, we just have
    to make the warning message is clear about what they're deleting.

Having delete not actually delete has been getting in the way of how
this application works.

I do like the idea of a survey having multiple versions and all those
versions being merged together well, but that's going to be extremely
difficult to implement. We'd have to do data migrations for XForms.
Think about how hard south is to use, and then think about
implementing south for XForms, that's a big project. I think we could
get a hack job working, but it will be more confusing for users than
not having it.

Andrew

On Wed, Oct 26, 2011 at 2:25 PM, Mark Johnston
[email protected]
wrote:

Hmmm here goes...

I think it would make sense to separate the idea of a survey that the user is trying to perform and the actual form that is generated and used on the phone.  If we add an extra level of containment such as a survey can have multiple form versions, then we can actually save all of the forms as they are now, and sort of group them in a versioned fashion under the survey.  The user can "add a new version" or maybe simply "update your survey form."  This would save a completely new form with it's own id and version number under the given survey.  This way we would have less of a need to delete old forms (just make a new version) and could continue to collect data for a given survey using an older version of the form (for example, maybe all the phones are not up to date).  One thing that might be necessary would be to embed the version id inside the xform such that submissions to the user's url could be directed to the correct survey form version.  There may need to be some tricke
 ry to make sure that the forms show up on the phone in a nice way (my form (v1) or whatever).  The nice thing about this, though, is that it keeps the user thinking about the continuity of their data collection as surveys whereas the backend can see things as separate for the needs of data integrity and uniqueness of ids.  What is more is that you would have all of the versions of the forms/data together and could export all of them if you wanted to attempt to merge them offline.

Anyways, I am sure there are other issues, but I think that something along these lines would make sense.  Would like to know your guys' thoughts/feedback.  Maybe a skype call or something would be better...

Reply to this email directly or view it on GitHub:
#36 (comment)

from formhub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.