Error uploading xls to xform

12 views
Skip to first unread message

EmilyGroene

unread,
Feb 3, 2012, 5:00:12 AM2/3/12
to xls2xform
I'm uploading my xls form to an xform on the website http://xform-prod.mvpafrica.org/,
and this error message comes up.

For some reason this choice isn't associated with a list.", {u'type':
u'province', u'name': u'bam', u'label': u'Bam'})

My xls forms look like this:

survey

type name label

select one from province province Sélectionnez la province


choices

type name label

province bam Bam
province sanmatenga Sanmatenga

Do you have any ideas what could be causing the error?

Thank you,
Emily

Prabhas Pokharel

unread,
Feb 3, 2012, 8:19:03 AM2/3/12
to xls2...@googlegroups.com
Hi emily,
First, please use http://formhub.org -- we're deprecating http://xform-prod.mvpafrica.org/.

Secondly, the choices tab uses the headers:
list name, name, and label, rather than type, name, and label (see http://formhub.org/syntax/)

Attached is emily.xls, which replicates your survey below, and works without errors for me on formhub.
And finally, it might be a good idea to name your list "provinces" rather than "province," so that there isn't name confusion between list name and field name, but thats up to you.
--
Prabhas Pokharel
http://twitter.com/prabhasp
Nepal mobile: +977 98137 91044
US mobile: +1 347 948 7654
skype/facebook/whatever: prabhasp

emily.xls
Reply all
Reply to author
Forward
0 new messages