Use of regex on xlsform

Dear all,
I' ve used a regex in constraint on an xml form like this :
constraint="regex(., '[A-ZA-Z]{3}')" and it works well;
now, I would like to know, how to use (how to enter) the same regex in the
constraint column of an XLSForm.
In advance, thanks.
Best

doesn't entering

regex(., '[A-ZA-Z]{3}')

work?

··· On Fri, Jul 15, 2016 at 4:47 AM, Amal wrote:

Dear all,
I' ve used a regex in constraint on an xml form like this :
constraint="regex(., '[A-ZA-Z]{3}')" and it works well;
now, I would like to know, how to use (how to enter) the same regex in the
constraint column of an XLSForm.
In advance, thanks.
Best

--

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


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Sorry, Mitch
I did not test this; it has worked well
many thanks, Mitch.
Best

··· Le vendredi 15 juillet 2016 18:10:15 UTC+2, Mitch Sundt a écrit : > > doesn't entering > > regex(., '[A-ZA-Z]{3}') > > work? > > On Fri, Jul 15, 2016 at 4:47 AM, Amal <altes...@gmail.com > wrote: > >> Dear all, >> I' ve used a regex in constraint on an xml form like this : >> constraint="regex(., '[A-ZA-Z]{3}')" and it works well; >> now, I would like to know, how to use (how to enter) the same regex in >> the constraint column of an XLSForm. >> In advance, thanks. >> Best >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >