I am developing a XLS form for an interview. As I'm using "field-list" for
a group of questions with "required" field, it is always difficult to
check, which question I have missed on a single screen? because the error
message is same for all questions.
For example I have 5 questions in a group, under field-list and all are
required. If by mistake I missed question number 4, then is it possible to
create an error message, which indicate that I missed question number 4
instead of a common error message. So in short, Is it possible to create
an error message for a required question just like a constraint message
with out any constraint?
Thank you
Joseph
Hi Joseph,
I don't think there is a way to add a customized message for the "required"
field. However, perhaps you could use constraints to make your values
required then customize the constraint messages.
Regards,
-Nathan
···
On Wednesday, January 9, 2013 11:26:52 AM UTC-8, Joseph G Giduthuri wrote: > > I am developing a XLS form for an interview. As I'm using "field-list" for > a group of questions with "required" field, it is always difficult to > check, which question I have missed on a single screen? because the error > message is same for all questions. > For example I have 5 questions in a group, under field-list and all are > required. If by mistake I missed question number 4, then is it possible to > create an error message, which indicate that I missed question number 4 > instead of a common error message. So in short, Is it possible to create > an error message for a required question just like a constraint message > with out any constraint? > Thank you > Joseph > >Thanks Nathan,
But I need customized message for an open ended question (text field),
which means it has narratives of respondent.
Regards
Joseph
···
> >So are you having a problem creating a constraint that says the text field
must be filled in? If so I might be able to offer some suggestions.
···
On Thursday, January 10, 2013 1:41:33 PM UTC-8, Joseph G Giduthuri wrote: > > > Thanks Nathan, > > But I need customized message for an open ended question (text field), > which means it has narratives of respondent. > > Regards > Joseph > >> >>Hey Nathan,
please do so, It would be a great help. Thank you
Joseph
Joseph
If you're using field-list, the individual field validation doesn't trigger
until you hit swipe. If validation is important, I suggest you don't use
field-list.
If a field-list presentation is more important, then you have to check your
variables before you use them.
/Nik
···
On Saturday, January 12, 2013, Joseph G Giduthuri wrote:Hey Nathan,
please do so, It would be a great help. Thank you
Joseph--
Post: opendatakit@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>
Options: http://groups.google.com/group/opendatakit?hl=en
Hi Joseph,
Nik has a good point, avoiding the field-list may be the ideal solution.
If you need to present your questions in a field-list, you could try using
the string-length() function in your constraint formulas.
Using a constraint formula of "string-length(.) > 0" should be equivalent
to making a text field required.
Regards,
-Nathan
···
On Saturday, January 12, 2013 12:11:58 AM UTC-8, Joseph G Giduthuri wrote: > > Hey Nathan, > please do so, It would be a great help. Thank you > Joseph >Hi Nik and Nathan,
That was a very valuable point highlighted by Nik, but my study do demands
me to use field-list.
I will try String-length formula as Nathan suggested. Thanks a lot guys for
valuable suggestions.
Best regards
Joseph