kobotoolbox / koboform

A Java/GWT based formbuilder (no longer supported). Replaced by dkobo.
2 stars 8 forks source link

KoBoForm loses default Values #104

Open Dylan-Gillespie opened 11 years ago

Dylan-Gillespie commented 11 years ago

From mojote...@gmail.com on April 10, 2013 16:38:34

What steps will reproduce the problem? 1.In KoBoForm create a question

  1. Open the Advanced properties
  2. Add a value in the "Default Value" field.
  3. Save form, go look at XML, react with shock to find that the Default value is not saved in the Node. What is the expected output? What do you see instead? A Node in the Instance looks like When a Node has a default value, in the instance it looks like 7

Adding a default value in the adcanced properties of the question editing pane should insert that value into the matching Node in the Instance.

KoBoForm just discards the default value. If you upload a form with default values written into some of the nodes, KoBoForm will discard these as well. Please use labels and text to provide additional information.

Original issue: http://code.google.com/p/kobo/issues/detail?id=103