Hi,
I have a form that has it's group titles/labels in the xml file as
some value
I am trying to get this value "some value" for the groups while
traversing them using the FormEntryController.EVENT_GROUP in the odk
collect source but failed to do so.
All I could achieve was get a GroupDef for the particular FormIndex, but
it has no method to get the value of the label.
Can anyone please help me with this.
Thanks
Look at FormController.getCaptionHierarchy().
You need to get the FormEntryCaption for the group.
FormEntryCaption object has:
getLongText() -- returns the above text
getSpecialFormQuestionText(formName) -- returns the text.
···
On Thu, Apr 4, 2013 at 12:57 AM, Tasbeer wrote:
Hi,
I have a form that has it's group titles/labels in the xml file as
some value
I am trying to get this value "some value" for the groups while
traversing them using the FormEntryController.EVENT_GROUP in the odk
collect source but failed to do so.
All I could achieve was get a GroupDef for the particular FormIndex, but
it has no method to get the value of the label.
Can anyone please help me with this.
Thanks
--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com