Hi all,
i am a newbie in ODK and XForms but not new in coding. I am
implementing an ODK application. I have managed to create a form which
runs fine on the emulator and can be able to collect data and save the
data as complete. I have an Aggregate account where I have uploaded
the working form and set ODK to sync with that server.
My question is: What will make ODK fail when submitting the completed
(my completed) form to the server, but when I am using other forms I
downloaded they are being submitted well.
Any help will be appreciated
Hi all,
Sorry I forgot to include my form, now I have remembered!
<?xml version="1.0" encoding="UTF-8"?>
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://
openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>GEF-WA Sampling - Flexible</h:title>
<start_time />
<location_name />
<animal_id />
<animal_name />
<animal_species />
<other_species />
<animal_age />
<animal_dob />
<animal_sex />
<sample_id />
<sampling_time />
<sample_comments />
<animal_comments />
<end_time />
</h:head>
<h:body>
<input ref="/animal/location_name">
<label>Enter the name of this location</label>
</input>
<input ref="/animal/gps">
<label>Capture the GPS coordinates of this location</label>
</input>
<input ref="/animal/animal_name">
<label>Enter the name of the animal</label>
</input>
<select1 ref="/animal/animal_species">
<label>What are you sampling?</label>
<item>
<label>Goat</label>
<value>goat</value>
</item>
<item>
<label>Sheep</label>
<value>sheep</value>
</item>
<item>
<label>Cow</label>
<value>cow</value>
</item>
<item>
<label>Other</label>
<value>other</value>
</item>
</select1>
<input ref="/animal/other_species">
<label>Enter the species name that you are sampling</label>
</input>
<select1 ref="/animal/ageing">
<label>What do you know, the age or the DOB of the animal?</
label>
Age
age
DoB
dob
None of the above
none
Enter the age of the animal(as y.m)
Select the DOB of the animal
Select the sex of the animal
Male
m
Female
f
Capture a picture
Animal Picture
Add a new sample
Sample Id
Comments
Any comments for this animal?
</h:body>
</h:html>
Hi all,
Fixed my problem, actually there was no problem. Just a slow internet
connection was causing the form not to upload. Too bad ODK does not
give a proper message in case a form times out when being uploaded.
Adios
glad it's working for you. our next release does have much better
error messages.
ยทยทยท
On Fri, Oct 29, 2010 at 00:10, tver3305 wrote:
> Hi all,
>
> Fixed my problem, actually there was no problem. Just a slow internet
> connection was causing the form not to upload. Too bad ODK does not
> give a proper message in case a form times out when being uploaded.
>
> Adios
>
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>