At least one reqired

Hello
I have grouped together four text questions on one screen that I want the
entrant to enter at least one or all before going to next screen,
Is this possible?

Hi Ayoub,

You can add a formula to the "required" field of the last text question
which tests whether the other 3 are all blank, and then prevents the user
from continuing.

e.g. ${text_one} ='' and ${text_two} ='' and ${text_three} =''

Note that those are two single quote signs [ ' ] and [ ' ] to indicate
a blank string, and not a double quote [ " ]

It's also useful to add the "required_message" field with something like
"You need to enter a value for at least one of these"

You can also refer to this post:
https://groups.google.com/forum/#!searchin/opendatakit/at$20least$20one/opendatakit/WQjpbG9Djqw/fx17sTZlT4MJ

Regards,
Andrew

··· On Tuesday, 23 June 2015 15:12:36 UTC+2, Ayoub Kakande wrote: > > Hello > I have grouped together four text questions on one screen that I want the > entrant to enter at least one or all before going to next screen, > Is this possible? >

Thanx so much Andrew
It has worked, only that when I inlcude the "required_message" it does not
convert to XML, yet when I remove it, it works

··· On 23 June 2015 at 17:17, Andrew wrote:

Hi Ayoub,

You can add a formula to the "required" field of the last text question
which tests whether the other 3 are all blank, and then prevents the user
from continuing.

e.g. ${text_one} ='' and ${text_two} ='' and ${text_three} =''

Note that those are two single quote signs [ ' ] and [ ' ] to indicate
a blank string, and not a double quote [ " ]

It's also useful to add the "required_message" field with something like
"You need to enter a value for at least one of these"

You can also refer to this post:

https://groups.google.com/forum/#!searchin/opendatakit/at$20least$20one/opendatakit/WQjpbG9Djqw/fx17sTZlT4MJ

Regards,
Andrew

On Tuesday, 23 June 2015 15:12:36 UTC+2, Ayoub Kakande wrote:

Hello
I have grouped together four text questions on one screen that I want the
entrant to enter at least one or all before going to next screen,
Is this possible?

--

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.

--
**In sun set years education is not associated with standard of living and
medical care access; it is the the financial myosin and actin!!!

**** Don't give me fish, teach me how to fish

Kayoub K
0772656158 / 0703516660
PMTCT Data Manager
Mujhu Research Collaboration
Mulago Hosp

Lecturer
Kumi University

Hi Ayoub,

Glad that's working.
Just to clarify: For the required message you should add a new column to
your spreadsheet with heading "required_message", and in that column you
put: You need to enter a value for at least one of these.

If that's what you did then I can try have a look at your spreadsheet to
see if I can spot the problem.
Was there any error message when it does not convert to XML?

Regards,
Andrew

··· On Wednesday, 24 June 2015 12:50:28 UTC+2, Ayoub Kakande wrote: > > Thanx so much Andrew > It has worked, only that when I inlcude the "required_message" it does > not convert to XML, yet when I remove it, it works > > On 23 June 2015 at 17:17, Andrew <acawo...@gmail.com > wrote: > >> Hi Ayoub, >> >> You can add a formula to the "required" field of the last text question >> which tests whether the other 3 are all blank, and then prevents the user >> from continuing. >> >> e.g. ${text_one} ='' and ${text_two} ='' and ${text_three} ='' >> >> Note that those are two single quote signs [ ' ] and [ ' ] to >> indicate a blank string, and not a double quote [ " ] >> >> It's also useful to add the "required_message" field with something like >> "You need to enter a value for at least one of these" >> >> You can also refer to this post: >> >> https://groups.google.com/forum/#!searchin/opendatakit/at$20least$20one/opendatakit/WQjpbG9Djqw/fx17sTZlT4MJ >> >> >> Regards, >> Andrew >> >> >> On Tuesday, 23 June 2015 15:12:36 UTC+2, Ayoub Kakande wrote: >>> >>> Hello >>> I have grouped together four text questions on one screen that I want >>> the entrant to enter at least one or all before going to next screen, >>> Is this possible? >>> >> -- >> -- >> 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. >> > > > > -- > **In sun set years education is not associated with standard of living and > medical care access; it is the the financial myosin and actin!!! > > **** Don't give me fish, teach me how to fish > > Kayoub K > 0772656158 / 0703516660 > PMTCT Data Manager > Mujhu Research Collaboration > Mulago Hosp > > > Lecturer > Kumi University >