| 1 | ກ | A |
| 2 | ຂ | B |
| 3 | ຄ | C |
| 4 | ງ | D |
| 5 | … | … |
... and please ignore my typo above where I say "the Lao character ກ will be B" ... I meant ຂ ... but I think you get the basic gist of it! :)
--
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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you so much! this is so helpful -- I have follow-up questions about this as I try to get it to work --1-- in your example above, did you work on the assumption that I would name my lookup table lao-latin-map? because I see that string in your code and I wanted to confirm if that should be the name of the table I made.
2-- for the record, in the test app I am trying to build this in, I went ahead and named my table lao-latin-map and I made the three columns be id, lao, and latin -- as you suggested. You can see attached screenshot.
3-- It was interesting that you suggested "If you store the selected Lao letter under a hidden value called /data/first_lao_letter..." ... is it definitely best that I store that lao letter in a hidden value like that? because I was wondering if I could simply reference that letter as right where it was stored in the Select Field where the user selected it, which I call /data/code1 ... but maybe there is a reason I should then subsequently place it into a normal hidden value field.
4-- When I see your <bind nodeset.............. /> code ... Would I place that code directly into the XML of the form, or can I place it into the "Calculate Condition" box in a hidden value? This is probably embarrassingly obvious to you. But you say "your calculate statement..." in your text above so I was not sure.
5-- If your answer to #4 is that it should be placed in the form XML, can you give a tip as to where in the code it should belong?
6-- Also, since this "bind" code seems to be storing something into a field called /data/first_latin_letter ... should I also, in my form, create a hidden value field that is called /data/first_latin_letter and simply leave it blank, so that this code can then force the data to be stored into it?
7-- Another question about the XML of the form. Using this technique, will I need to manually insert one of those <instance id="....... lines into my form XML to include the lookup table in my form... as some of the online tutorials still mention? ... Or, as I suspect, is that no longer necessary as the system now has the new built-in way of handling lookup tables... and I have already succeeded in having form question use lookup tables without inserting that code line?
8-- Also, in your code line above, I see that the code includes those two items in the string ...../letters/letter/..... But nowhere in my process have I ever defined or configured anything called letters or letter. What do those two sections of the code string point to? -- should I have created something called letters and letter?
thanks so much for this... I'm sorry I need so much input on this --Eric
Thank you so much! this is so helpful -- I have follow-up questions about this as I try to get it to work --1-- in your example above, did you work on the assumption that I would name my lookup table lao-latin-map? because I see that string in your code and I wanted to confirm if that should be the name of the table I made.
2-- for the record, in the test app I am trying to build this in, I went ahead and named my table lao-latin-map and I made the three columns be id, lao, and latin -- as you suggested. You can see attached screenshot.3-- It was interesting that you suggested "If you store the selected Lao letter under a hidden value called /data/first_lao_letter..." ... is it definitely best that I store that lao letter in a hidden value like that? because I was wondering if I could simply reference that letter as right where it was stored in the Select Field where the user selected it, which I call /data/code1 ... but maybe there is a reason I should then subsequently place it into a normal hidden value field.
4-- When I see your <bind nodeset.............. /> code ... Would I place that code directly into the XML of the form, or can I place it into the "Calculate Condition" box in a hidden value? This is probably embarrassingly obvious to you. But you say "your calculate statement..." in your text above so I was not sure.
5-- If your answer to #4 is that it should be placed in the form XML, can you give a tip as to where in the code it should belong?
6-- Also, since this "bind" code seems to be storing something into a field called /data/first_latin_letter ... should I also, in my form, create a hidden value field that is called /data/first_latin_letter and simply leave it blank, so that this code can then force the data to be stored into it?
7-- Another question about the XML of the form. Using this technique, will I need to manually insert one of those <instance id="....... lines into my form XML to include the lookup table in my form... as some of the online tutorials still mention? ... Or, as I suspect, is that no longer necessary as the system now has the new built-in way of handling lookup tables... and I have already succeeded in having form question use lookup tables without inserting that code line?
8-- Also, in your code line above, I see that the code includes those two items in the string ...../letters/letter/..... But nowhere in my process have I ever defined or configured anything called letters or letter. What do those two sections of the code string point to? -- should I have created something called letters and letter?
thanks so much for this... I'm sorry I need so much input on this --Eric
--
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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.