Greetings,
am building a survey using the advanced template with the XLSForm.
I need to use a function that select one item from a comma separated list, the function should take in the input the list and the index as parameters to return the needed item ex:
list A=(Sami, Sara, Fadi, Bruce)
Sami=getItemAtIndex(A,0);
Fadi=getItemAtIndex(A,2);
I tried to use a JavaScript function with the pulldata() and it works in the form preview but unfortunately it is not supported by the mobile app and give me scripts disabled. kindly advise how can i fix this issue or use the built in function for selection supported by other odk.
you quick response is very appreciated and thank you in advance
Best,
Ali Jaafar