formbuilder
formbuilder copied to clipboard
Edit existing form from admin link
I could not figure out how to edit a form once it's published.
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?)
We can group and sort them by "schema" value DESC and then present a table per version of the schema.
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 !
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?
Yeah, let's not find problems when we can find solutions :-)