Select2

Hi peolple,

there is the function select2 ?

something that you can choose from two or more options instead of select1.

Gracias

··· -- Renan A. Kamimura

select1 allows you to select one option. select allows you to select
multiple options

to select two more more, use a select, but add a constraint to limit
it to 2 or more.

constraint="count-selected(.) >= 2"

··· On Wed, Jul 13, 2011 at 12:49, Renan Kamimura wrote: > Hi peolple, > > there is the function select2 ? > > something that you can choose from two or more options instead of select1. > > Gracias > > -- > Renan A. Kamimura > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

nice!!!

thanks

··· 2011/7/13 Yaw Anokwa : > select1 allows you to select one option. select allows you to select > multiple options > > to select two more more, use a select, but add a constraint to limit > it to 2 or more. > > constraint="count-selected(.) >= 2" > > > On Wed, Jul 13, 2011 at 12:49, Renan Kamimura wrote: >> Hi peolple, >> >> there is the function select2 ? >> >> something that you can choose from two or more options instead of select1. >> >> Gracias >> >> -- >> Renan A. Kamimura >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

--
Renan A. Kamimura

Yaw,

If you use select with constraint of 2, that works just to choose 2 options?

I can´t mark just one of other choices?

thanks

Renan

··· 2011/7/13 Renan Kamimura

nice!!!

thanks

2011/7/13 Yaw Anokwa yanokwa@gmail.com:

select1 allows you to select one option. select allows you to select
multiple options

to select two more more, use a select, but add a constraint to limit
it to 2 or more.

constraint="count-selected(.) >= 2"

On Wed, Jul 13, 2011 at 12:49, Renan Kamimura renankami@gmail.com wrote:

Hi peolple,

there is the function select2 ?

something that you can choose from two or more options instead of
select1.

Gracias

--
Renan A. Kamimura

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

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

--
Renan A. Kamimura

--
Renan A. Kamimura

i don't understand what you are asking. if you have a specific example
of what you want the prompt to do, that would help.

you can use count-selected() to specific the exact (or range) of
selected options. you can also use boolean logic to constrain to
specific options. for example, constraint="not(selected(., 'a') and
selected(., 'b'))" would prevent options a and b from being selected
together.

··· On Thu, Jul 14, 2011 at 12:43, Renan Kamimura wrote: > Yaw, > If you use select with constraint of 2, that works just to choose 2 options? > I can´t mark just one of other choices? > thanks > Renan > > 2011/7/13 Renan Kamimura >> >> nice!!! >> >> thanks >> >> 2011/7/13 Yaw Anokwa : >> > select1 allows you to select one option. select allows you to select >> > multiple options >> > >> > to select two more more, use a select, but add a constraint to limit >> > it to 2 or more. >> > >> > constraint="count-selected(.) >= 2" >> > >> > >> > On Wed, Jul 13, 2011 at 12:49, Renan Kamimura wrote: >> >> Hi peolple, >> >> >> >> there is the function select2 ? >> >> >> >> something that you can choose from two or more options instead of >> >> select1. >> >> >> >> Gracias >> >> >> >> -- >> >> Renan A. Kamimura >> >> >> >> -- >> >> Post: opendatakit@googlegroups.com >> >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> >> > >> > -- >> > Post: opendatakit@googlegroups.com >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> > >> >> >> >> -- >> Renan A. Kamimura > > > > -- > Renan A. Kamimura > > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Thanks Yaw!

sorry for english ... my question is about application of the syntax:
constraint = "count-selected (.)> = 3"

I can't select only one or two of the options available. Must have three
scoring options.

Another issue is to upload the instances to .csv using Kobo. In excel all
outputs from the same group (in Xform, questions that appear on the same
screen) fit in the same column.

Can you export the instances to .csv file and outputs of groups`s questions
come separated by comma
(i.e. in individual column)?

Cheers

Renan

··· 2011/7/14 Yaw Anokwa

i don't understand what you are asking. if you have a specific example
of what you want the prompt to do, that would help.

you can use count-selected() to specific the exact (or range) of
selected options. you can also use boolean logic to constrain to
specific options. for example, constraint="not(selected(., 'a') and
selected(., 'b'))" would prevent options a and b from being selected
together.

On Thu, Jul 14, 2011 at 12:43, Renan Kamimura renankami@gmail.com wrote:

Yaw,
If you use select with constraint of 2, that works just to choose 2
options?
I can´t mark just one of other choices?
thanks
Renan

2011/7/13 Renan Kamimura renankami@gmail.com

nice!!!

thanks

2011/7/13 Yaw Anokwa yanokwa@gmail.com:

select1 allows you to select one option. select allows you to select
multiple options

to select two more more, use a select, but add a constraint to limit
it to 2 or more.

constraint="count-selected(.) >= 2"

On Wed, Jul 13, 2011 at 12:49, Renan Kamimura renankami@gmail.com wrote:

Hi peolple,

there is the function select2 ?

something that you can choose from two or more options instead of
select1.

Gracias

--
Renan A. Kamimura

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

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

--
Renan A. Kamimura

--
Renan A. Kamimura

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

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

--
Renan A. Kamimura

renan,

i still don't understand. your constraint of >= 3 is doing what you
specified. you have to select more than three. if you want to select
up to three, then use <= 3.

please send questions about kobo should go to the kobo team.

yaw

··· On Fri, Jul 15, 2011 at 07:02, Renan Kamimura wrote: > Thanks Yaw! > sorry for english ... my question is about application of > the syntax: constraint = "count-selected (.)> = 3" > I can't select only one or two of > the options available. Must have three scoring options. > > Another issue is to upload the instances to .csv using Kobo. In excel all > outputs from the same group (in Xform, questions that appear on the same > screen) fit in the same column. > > Can you export the instances to .csv > file and outputs of groups`s questions come separated by comma > (i.e. in individual column)? > Cheers > > Renan > 2011/7/14 Yaw Anokwa >> >> i don't understand what you are asking. if you have a specific example >> of what you want the prompt to do, that would help. >> >> you can use count-selected() to specific the exact (or range) of >> selected options. you can also use boolean logic to constrain to >> specific options. for example, constraint="not(selected(., 'a') and >> selected(., 'b'))" would prevent options a and b from being selected >> together. >> >> On Thu, Jul 14, 2011 at 12:43, Renan Kamimura wrote: >> > Yaw, >> > If you use select with constraint of 2, that works just to choose 2 >> > options? >> > I can´t mark just one of other choices? >> > thanks >> > Renan >> > >> > 2011/7/13 Renan Kamimura >> >> >> >> nice!!! >> >> >> >> thanks >> >> >> >> 2011/7/13 Yaw Anokwa : >> >> > select1 allows you to select one option. select allows you to select >> >> > multiple options >> >> > >> >> > to select two more more, use a select, but add a constraint to limit >> >> > it to 2 or more. >> >> > >> >> > constraint="count-selected(.) >= 2" >> >> > >> >> > >> >> > On Wed, Jul 13, 2011 at 12:49, Renan Kamimura wrote: >> >> >> Hi peolple, >> >> >> >> >> >> there is the function select2 ? >> >> >> >> >> >> something that you can choose from two or more options instead of >> >> >> select1. >> >> >> >> >> >> Gracias >> >> >> >> >> >> -- >> >> >> Renan A. Kamimura >> >> >> >> >> >> -- >> >> >> Post: opendatakit@googlegroups.com >> >> >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >> >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> >> >> >> > >> >> > -- >> >> > Post: opendatakit@googlegroups.com >> >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >> > Options: http://groups.google.com/group/opendatakit?hl=en >> >> > >> >> >> >> >> >> >> >> -- >> >> Renan A. Kamimura >> > >> > >> > >> > -- >> > Renan A. Kamimura >> > >> > >> > -- >> > Post: opendatakit@googlegroups.com >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> > >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > > > -- > Renan A. Kamimura > > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >