Aggregate 1.0.1 truncation

Hi,

On uploading a new form to Aggregate 1.0.1, it warns that text fields
will truncate to 255 characters, but it say you can change this
default. But I can not find out how? Also can you restrict a text
field in collect to the number of characters?

Thanks

GISTIN

gistin,

all of this covered at http://opendatakit.org/help/form-design/

restrict an answer between 1-10 inclusive is supported in build. you
can also do it manually:
<bind nodeset="/widgets/string" type="string" constraint="(regex(.,
"^.{1,10}$"))"/>
aggregate's db truncates strings longer than 255 characters for db
efficiency. use the following to bypass that.

yaw

ยทยทยท On Fri, Nov 25, 2011 at 07:55, gistin wrote: > Hi, > > On uploading a new form to Aggregate 1.0.1, it warns that text fields > will truncate to 255 characters, but it say you can change this > default. But I can not find out how? Also can you restrict a text > field in collect to the number of characters? > > Thanks > > GISTIN > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >