Case Sharing: Alphabetizing groups pulled into form

So this query is regarding
this https://wiki.commcarehq.org/display/commcarepublic/Assigning+cases+to+one+of+multiple+groups

Specifically this piece of code:

Now lets say all my groups are technically villages. When I put this piece
of code into the form, it spits out villages as options BUT it orders them
by the ID of the Group rather than the NAME of the group (i.e. village).
The ID however is only the value and the NAME is what is displayed. What I
need is, when filling out the form, the villages show up alphabetically by
NAME not ID. Anyone know how to do that?

Thanks
Saira

Saira,

I’m sorry to say we don’t currently support anything that would allow this
functionality to work.

This is an extension we are open to including in the future, though. You
can add or vote for this feature on our UserVoice site to let us know that
this is something you’d like to see CommCare support in the future!

-Clayton

··· On Fri, Mar 27, 2015 at 4:16 PM, Saira Qureshi wrote:

So this query is regarding this
https://wiki.commcarehq.org/display/commcarepublic/Assigning+cases+to+one+of+multiple+groups

Specifically this piece of code:

Now lets say all my groups are technically villages. When I put this piece
of code into the form, it spits out villages as options BUT it orders them
by the ID of the Group rather than the NAME of the group (i.e. village).
The ID however is only the value and the NAME is what is displayed. What I
need is, when filling out the form, the villages show up alphabetically by
NAME not ID. Anyone know how to do that?

Thanks
Saira


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.