String limit

Hi there!
Am trying to restrict input of one field to have not less than 10
characters and not more than 10 characters i use the below code but it give
an error message what did i do wrong?

<bind nodeset="/Add_On2/MotherID" type="string" constraint="(regex(.,
"^.{1,10}$"))"/>"/>

Regards,
Silas

I believe this email thread covers the issue and the work around:
http://groups.google.com/group/opendatakit/browse_thread/thread/798ac40e2be6c9ba/a3f2a6be54de6934

Waylon

ยทยทยท On Sun, Jun 24, 2012 at 5:59 AM, silas temu wrote: > Hi there! > Am trying to restrict input of one field to have not less than 10 characters > and not more than 10 characters i use the below code but it give an error > message what did i do wrong? > > "/> > > Regards, > Silas > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en