Hi,
Is there a way in which I can loop through repeat group atleast once while rendering the form. The user should not be able to delete the default group (i.e first group) but can add or delete if they have more than one group.
Thanks in advance.
Hi,
Is there a way in which I can loop through repeat group atleast once while rendering the form. The user should not be able to delete the default group (i.e first group) but can add or delete if they have more than one group.
Thanks in advance.
If you remove jr:template="" from the repeat group XML, the form will
automatically create the first repeat without asking the user.
Haven't tried, but I don't think you can prevent a delete of a repeat
(e.g., by marking it read only). Try it and let the community know. If
that doesn't work, best you can do is prevent someone from continuing
if a repeat has zero repeats in it. You can have a note prompt that is
required when count(/data/repeat_node) < 1.
Yaw
On Wed, Aug 13, 2014 at 2:20 AM, eopoxf@gmail.com wrote:
Hi,
Is there a way in which I can loop through repeat group atleast once while rendering the form. The user should not be able to delete the default group (i.e first group) but can add or delete if they have more than one group.Thanks in advance.
--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The ability to prevent deletion of repeats would actually be a pretty
useful feature I think.
Jason
Might already be there. Anyone try deleting a read-only repeat?
Yaw
On Fri, Aug 15, 2014 at 8:00 AM, Jason Ives jasives@gmail.com wrote:
The ability to prevent deletion of repeats would actually be a pretty useful
feature I think.Jason
On Wednesday, August 13, 2014 5:20:18 AM UTC-4, eop...@gmail.com wrote:
Hi,
Is there a way in which I can loop through repeat group atleast once
while rendering the form. The user should not be able to delete the default
group (i.e first group) but can add or delete if they have more than one
group.Thanks in advance.
--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We tested it, it makes all questions within the repeat group read-only.
Jason
Jason,
Thanks for testing. I've filed it as a feature request. There is no
ETA, but sar it to get updates.
https://code.google.com/p/opendatakit/issues/detail?id=1050
Yaw
On Wed, Aug 20, 2014 at 8:54 AM, Jason Ives jasives@gmail.com wrote:
We tested it, it makes all questions within the repeat group read-only.
Jason
On Sunday, August 17, 2014 4:11:37 PM UTC-4, Yaw Anokwa wrote:
Might already be there. Anyone try deleting a read-only repeat?
Yaw
Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.On Fri, Aug 15, 2014 at 8:00 AM, Jason Ives jas...@gmail.com wrote:
The ability to prevent deletion of repeats would actually be a pretty
useful
feature I think.Jason
On Wednesday, August 13, 2014 5:20:18 AM UTC-4, eop...@gmail.com wrote:
Hi,
Is there a way in which I can loop through repeat group atleast once
while rendering the form. The user should not be able to delete the
default
group (i.e first group) but can add or delete if they have more than
one
group.Thanks in advance.
--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.