Date_time field

I have a form with a dateTime hidden field (or so I assume), and I'm
confused about why I'm getting the error message.

xForm contains:

      <date_time_today/>

and

  <bind nodeset="/data/datetime_today" type="datetime"

jr:preload="timestamp" jr:preloadParams="start"/>

(form passed validator)

When uploading to Aggregate 1.0.4 and to Aggregate 1.2 I get the following
error:

··· > Form uploaded with warnings. There are value fields in the form that do > not have declarations or those declarations do not have a > type attribute that identifies the data type of that field (e.g., > boolean, int, decimal, date, dateTime, time, string, select1, select, > barcode, geopoint or binary). > > *All these value fields have been declared as string values.* It will use > lexical ordering on those fields. E.g., the value 100 will be considered > less than 11. > > If these value fields hold date, dateTime, time or numeric data (e.g., > decimal or int), then ODK Aggregate will produce erroneous sortings and > erroneous filtering results against those value fields. > > Field Namedata/date_time_today > > Click here to return > to add new form page. >

--
James Dailey
skype: jdailey

If that is a straight copy and paste you are missing an underscore
'date_time_today' versus 'datetime_today'.

Waylon

··· On Thu, Aug 9, 2012 at 10:36 PM, James Dailey wrote:

I have a form with a dateTime hidden field (or so I assume), and I'm
confused about why I'm getting the error message.

xForm contains:

      <date_time_today/>

and

  <bind nodeset="/data/datetime_today" type="datetime"

jr:preload="timestamp" jr:preloadParams="start"/>

(form passed validator)

When uploading to Aggregate 1.0.4 and to Aggregate 1.2 I get the following
error:

Form uploaded with warnings. There are value fields in the form that do
not have declarations or those declarations do not have
a type attribute that identifies the data type of that field (e.g.,
boolean, int, decimal, date, dateTime, time, string, select1, select,
barcode, geopoint or binary).

All these value fields have been declared as string values. It will
use lexical ordering on those fields. E.g., the value 100 will be
considered less than 11.

If these value fields hold date, dateTime, time or numeric data (e.g.,
decimal or int), then ODK Aggregate will produce erroneous sortings and
erroneous filtering results against those value fields.

Field Namedata/date_time_today

Click here https://mec-odk-agg12-test.appspot.com/formUpload to return
to add new form page.

--
James Dailey
skype: jdailey

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

Right in front of my nose.

thanks Waylon

··· On Thu, Aug 9, 2012 at 10:46 PM, W. Brunette wrote:

If that is a straight copy and paste you are missing an underscore
'date_time_today' versus 'datetime_today'.

Waylon

On Thu, Aug 9, 2012 at 10:36 PM, James Dailey jamespdailey@gmail.comwrote:

I have a form with a dateTime hidden field (or so I assume), and I'm
confused about why I'm getting the error message.

xForm contains:

      <date_time_today/>

and

  <bind nodeset="/data/datetime_today" type="datetime"

jr:preload="timestamp" jr:preloadParams="start"/>

(form passed validator)

When uploading to Aggregate 1.0.4 and to Aggregate 1.2 I get the
following error:

Form uploaded with warnings. There are value fields in the form that do
not have declarations or those declarations do not have
a type attribute that identifies the data type of that field (e.g.,
boolean, int, decimal, date, dateTime, time, string, select1, select,
barcode, geopoint or binary).

All these value fields have been declared as string values. It will
use lexical ordering on those fields. E.g., the value 100 will be
considered less than 11.

If these value fields hold date, dateTime, time or numeric data (e.g.,
decimal or int), then ODK Aggregate will produce erroneous sortings and
erroneous filtering results against those value fields.

Field Namedata/date_time_today

Click here https://mec-odk-agg12-test.appspot.com/formUpload to
return to add new form page.

--
James Dailey
skype: jdailey

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
James Dailey
skype: jdailey