formbuilder icon indicating copy to clipboard operation
formbuilder copied to clipboard

Edit existing form from admin link

Open leplatrem opened this issue 9 years ago • 5 comments

I could not figure out how to edit a form once it's published.

leplatrem avatar Jun 01 '16 10:06 leplatrem

That's a good question, and actually triggers a few other ones:

  • What should happen to the already existing answers?
  • Should we drop them? Ask the user? Keep them in the database (but then how do we display them in the response view?)

almet avatar Jun 01 '16 11:06 almet

We can group and sort them by "schema" value DESC and then present a table per version of the schema.

Natim avatar Jun 01 '16 11:06 Natim

So it would mean we need to persist the old schema (we could do it only if some data exist for this schema). I like the idea !

almet avatar Jun 01 '16 11:06 almet

Most of the time we want to change a label or add a new option in a question. We may not need to go that far as a first approach. Fields that are removed are ignored on existing records when displayed, and new fields will be empty. That's it no?

leplatrem avatar Jun 01 '16 19:06 leplatrem

Yeah, let's not find problems when we can find solutions :-)

almet avatar Jun 01 '16 19:06 almet