This sample form will be used on the demo server and used for documentation and testing. Attach the XLSForm to a comment on this issue.
You can find a list of the widgets at https://github.com/opendatakit/collect/tree/master/collect_app/src/main/java/org/odk/collect/android/widgets
https://github.com/opendatakit/collect/blob/master/collect_app/src/main/java/org/odk/collect/android/activities/FormEntryActivity.java
http://xlsform.org/ref-table might also be helpful, but not that it's not a complete list.
The XLSForm link at the top of this form is a good start: https://enke.to/::widgets
Hello Martin! Are you working on it? If not then I would like to work on it please..
@syedaffanhamdani, I think @MartijnR was just pointing out a good place to start. You should start work on it!
yes, please do @syedaffanhamdani!
Thanks. I am working on it.
Sorry I am a bit swamped with other stuff. Cannot work anymore on it.
@syedaffanhamdani how far did you get? Can you share?
@wonderchook @yanokwa @lognaturel
I want to create the sample XLSForm ! Should I go ahead ?
@rishsethia Yes please, that would be wonderful!
I want to create a sample XLSForm . Should I try ? Or this task has already been completed ?
@aakashswain001 It's done ! :D
Thanks, @rishsethia! Quick question. How did you verify that this form works in ODK Collect?
I didn't verify that it works for ODK Collect ! I used the code to make this XLSForm . Should I verify it by uploading it to the ODK Server ? Also , after that I would like to document usage of each widget in the code itself as it was cumbersome for me to look for entire code of certain widgets !
Thanks !
@rishsethia Verify it by converting the XLSForm to XML and running it in ODK Collect. I've put rough instructions at https://github.com/opendatakit/collect#testing-a-form-locally.
Hi @rishsethia! Have you been able to make progress here?
Hi @yanokwa
Sorry about the delay . I had my mid semester exams last week , so was unable to make progress on it ! Getting to it on priority basis now ! Thanks ! :D
Hi @yanokwa , @lognaturel
When I'm trying to get my xlsform converted on odk website , I'm getting this error :
Error: 'dict' object has no attribute 'parent'
Do you have any idea what this error is due to ? I also tested on all 3 mediums and on all 3 mediums , I am getting different type of error !
Thanks
Hi @rishsethia,
I made some changes in the form.
Everything should work now. (Think of adding media to compile and get a valid xlm) :D
@rishsethia Can you please allow suggestions from people who know your Google Sheets URL, so @pailletm can suggest those changes directly to your form.
Hi,
thank's,
changes are made directly in your Google Sheet form.
Now, it's necessary to do some testing ;-)
Hi @yanokwa @pailletm
I've tested the form on the app and it works for the most part :D. I am facing this issue :
Thanks
Hi @rishsethia,
maybe you can use this one :
https://github.com/opendatakit/breathcounter/blob/master/BreathCounter/breathTest.xml
Hello @pailletm
On my device , it still says the requested app is missing . I originally used :
ex:change.uw.android.TEXTANSWER wherein also I faced same issue !
@yanokwa Apart from the external app launch issue , the form is ready! Thanks for your patience and apologies for delay due to exams :D
Hello @yanokwa sir ,
Should I go ahead and upload the form on the server ?
@rishsethia How did you verify the form was working? When I try this on my Moto G4 running master, the second question fails with this error.

Hi @yanokwa
Yes sir , you are right ! I faced the same issue ! But this is due to a bug in the code !
At Line number 96 , in AlignedImageWidget , the if condition is wrong logically and should be replaced by ,
" if (splits.length <= i) { "
Actually I solved the issue in my code but then forgot to mention it here !
Should I send a PR for the same ?
Thanks sir
@rishsethia Good thing we have this sample form that you made! First, file an issue that documents the problem, then send in the pull request.
Also, please don't call me sir! You are the one doing the work, I should call you sir!
@yanokwa ,
Okay Sure , going ahead and filing the issue !
And that is your humbleness sir ! :D
This looks great, @rishsethia, @pailletm! I'd like to get a few more eyes on it and then make sure it's available from the official server and mentioned in the README.
https://docs.google.com/spreadsheets/d/1af_Sl8A_L8_EULbhRLHVl8OclCfco09Hq2tqb9CslwQ
I tried to make sure that each control and appearance was included and clearly documented. There may still be a few missing. @wonderchook @shobhitagarwal1612 @grzesiek2010 @yanokwa and others, would be great to get your review.
@lognaturel I've investigated the file and I've made some changes. It looks ok for me.
@lognaturel We can close this issue
@grzesiek2010 You're right. Thanks to everyone who helped out on this! Now we just have to come up with a good process for keeping it up to date.
Most helpful comment
@wonderchook @yanokwa @lognaturel
I want to create the sample XLSForm ! Should I go ahead ?