Okay, so i tried with a really simple form (attached), like so:
0
0
DEFAULT/PRESET Values Test Inside Repeat Group
First Default/Preset Value
Second Default/Preset Value
And the problem is still there, i.e. it shows 0 as default value for two
questions during the first iteration, but at 2nd or 3rd ... the value is
gone. Can't we retain preset/default values for a question in Repeat
Groups? or is there a workaround to it?
This is not the correct syntax for template defaults in repeat groups.
What you did was define a form with an already-created, pre-populated 1st
repeat.
The correct syntax is:
0
0
The jr:template="" is critical -- it defines the default values for a
newly created group. Without it, you are just defining an already-filled-in
instance of the repeat group.
ยทยทยท
On Fri, Nov 7, 2014 at 5:03 AM, Ayub wrote:
Okay, so i tried with a really simple form (attached), like so:
0
0
DEFAULT/PRESET Values Test Inside Repeat Group
First Default/Preset Value
Second Default/Preset Value
And the problem is still there, i.e. it shows 0 as default value for two
questions during the first iteration, but at 2nd or 3rd ... the value is
gone. Can't we retain preset/default values for a question in Repeat
Groups? or is there a workaround to it?