I've wondered if variable names had to be unique to the whole xlsform, or just within the scope of the group that the variable is in. Several hints seem to point at the latter...
Hints:
- I noticed that group names are appended to variables when I export from aggregate to CSV
- I've been able to successfully generate an XML file from a form with same variable names, where
each variable is in different groups
So, if this "is" possible, given the example below, how do I reference one of the variables in ${...}?
Is the acknowledge part of the xlsform example below correct? The offline xlsform converter does not like it.
Example:
type, name, label
begin group, g3
text, number, Choose your number!
end group
acknowledge, num_acknowledge, Your choice was ${g3.number}