# Conditional jump and lock question in xform

**URL:** <https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645>\
**Category:** Support\
**Created:** [August 20, 2011, 7:03am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645 "2011-08-20T07:03:14Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vinit\_Sharma](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/e480ec/32.png) [@Vinit\_Sharma](https://forum.getodk.org/u/Vinit_Sharma)\
**Post date:** [September 27, 2011, 11:40am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/21 "2011-09-27T11:40:27Z")

</div>

Hello all,

Can i have a group within group in Xform ?  
I want to have sub group in the xform or can single group have more  
than one label

Thanks and regards

Vinit

> **···**
>
> On Aug 26, 12:12 pm, Vinit Sharma wrote: \> thanks a lot ... Awesome :) \> this is what i was looking for!! \> \> On Aug 26, 11:35 am, Yaw Anokwa wrote: \> \> \> try downloading new widgets form onhttp://opendatakit.appspot.com. it \> \> won't be exactly the same as the picture, but use your imagination :) \> \> \> On Fri, Aug 26, 2011 at 09:27, Vinit Sharma wrote: \> \> \> \> I download rc and test widget.xml from this link \> \> \>http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=f... \> \> \> but it doesn't show similer to image as you sent \> \> \>http://opendatakit.org/wp-content/uploads/2011/07/plotStatus.png \> \> \> \> can i get xfrom which have such cases and widget in odk \> \> \> \> -- \> \> \> Post: opendatakit@googlegroups.com \> \> \> Unsubscribe: opendatakit+unsubscribe@googlegroups.com \> \> \> Options:http://groups.google.com/group/opendatakit?hl=en

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [September 27, 2011, 12:48pm UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/22 "2011-09-27T12:48:25Z")

</div>

yes. you can have groups inside groups.

[http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=forms#196](http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=forms#196)  
has an example.

> **···**
>
> On Tue, Sep 27, 2011 at 14:40, Vinit Sharma wrote: \> \> \> Hello all, \> \> Can i have a group within group in Xform ? \> I want to have sub group in the xform or can single group have more \> than one label \> \> Thanks and regards \> \> Vinit \> \> \> On Aug 26, 12:12 pm, Vinit Sharma wrote: \>\> thanks a lot ... Awesome :) \>\> this is what i was looking for!! \>\> \>\> On Aug 26, 11:35 am, Yaw Anokwa wrote: \>\> \>\> \> try downloading new widgets form onhttp://opendatakit.appspot.com. it \>\> \> won't be exactly the same as the picture, but use your imagination :) \>\> \>\> \> On Fri, Aug 26, 2011 at 09:27, Vinit Sharma wrote: \>\> \>\> \> \> I download rc and test widget.xml from this link \>\> \> \>http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=f... \>\> \> \> but it doesn't show similer to image as you sent \>\> \> \>http://opendatakit.org/wp-content/uploads/2011/07/plotStatus.png \>\> \>\> \> \> can i get xfrom which have such cases and widget in odk \>\> \>\> \> \> -- \>\> \> \> 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 \>

---

<div class="post-metadata">

**Author:** ![Vinit\_Sharma](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/e480ec/32.png) [@Vinit\_Sharma](https://forum.getodk.org/u/Vinit_Sharma)\
**Post date:** [September 28, 2011, 5:07am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/23 "2011-09-28T05:07:40Z")

</div>

Sorry i want to ask about multiple question in one screen each have  
group label within one parent group like-

 section a enter Number section b enter Number section c 

> **···**
>
> On Sep 27, 5:48 pm, Yaw Anokwa wrote: \> yes. you can have groups inside groups. \> \> http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=f... \> has an example. \> \> On Tue, Sep 27, 2011 at 14:40, Vinit Sharma wrote: \> \> \> Hello all, \> \> \> Can i have a group within group in Xform ? \> \> I want to have sub group in the xform or can single group have more \> \> than one label \> \> \> Thanks and regards \> \> \> Vinit \> \> \> On Aug 26, 12:12 pm, Vinit Sharma wrote: \> \>\> thanks a lot ... Awesome :) \> \>\> this is what i was looking for!! \> \> \>\> On Aug 26, 11:35 am, Yaw Anokwa wrote: \> \> \>\> \> try downloading new widgets form onhttp://opendatakit.appspot.com. it \> \>\> \> won't be exactly the same as the picture, but use your imagination :) \> \> \>\> \> On Fri, Aug 26, 2011 at 09:27, Vinit Sharma wrote: \> \> \>\> \> \> I download rc and test widget.xml from this link \> \>\> \> \>http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=f... \> \>\> \> \> but it doesn't show similer to image as you sent \> \>\> \> \>http://opendatakit.org/wp-content/uploads/2011/07/plotStatus.png \> \> \>\> \> \> can i get xfrom which have such cases and widget in odk \> \> \>\> \> \> -- \> \>\> \> \> 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

---

<div class="post-metadata">

**Author:** ![Vinit\_Sharma](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/e480ec/32.png) [@Vinit\_Sharma](https://forum.getodk.org/u/Vinit_Sharma)\
**Post date:** [September 28, 2011, 12:50pm UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/24 "2011-09-28T12:50:22Z")

</div>

Hello all,

I have following queries for which i need your help

1. I want to ask about multiple questions in one screen for which i  
made form like below

\> section a \> \> enter Number \> \> \> section b \> \> enter Number \> \> \> section c \> \> \> \> \> \> \> 
1. can i have horizontal input field as list widget for radio button  
or check box?

2. in which case String number widget is called?

Thanks and regards

Vinit Sharma

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [September 30, 2011, 9:46pm UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/25 "2011-09-30T21:46:10Z")

</div>

> 1. I want to ask about multiple questions in one screen for which i  
> made form like below
> 
> \> section a \> \> enter Number \> \> \> section b \> \> enter Number \> \> \> section c \> \> \> \> \> \> \>

if you want multiple questions per screen, add a  
appearance="field-list" to the group tag surrounding the questions.

> 1. can i have horizontal input field as list widget for radio button  
> or check box?

no.

> 1. in which case String number widget is called?

 String field that uses only numbers (plus a couple extra) Takes 0-9, -, +, ., space, and comma

you can find the examples of what we support at  
[http://code.google.com/p/opendatakit/source/browse?repo=forms](http://code.google.com/p/opendatakit/source/browse?repo=forms) and  
[http://opendatakit.appspot.com](http://opendatakit.appspot.com). the new widgets form has examples of  
what is upcoming in collect 1.1.7.

---

<div class="post-metadata">

**Author:** ![Vinit\_Sharma](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/e480ec/32.png) [@Vinit\_Sharma](https://forum.getodk.org/u/Vinit_Sharma)\
**Post date:** [October 5, 2011, 4:42am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/26 "2011-10-05T04:42:26Z")

</div>

Hello all,

I want to know ODK parser only support English language or it can  
support multi language .

what if i give in form like

to or

please help regarding it

Best Regards

Vinit Sharma

> **···**
>
> On Oct 1, 2:46 am, Yaw Anokwa wrote: \> \> 1) I want to ask about multiple questions in one screen for which i \> \> made form like below \> \> \> \> \>\> section a \> \>\> \> \>\> enter Number \> \>\> \> \>\> \> \>\> section b \> \>\> \> \>\> enter Number \> \>\> \> \>\> \> \>\> section c \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \> if you want multiple questions per screen, add a \> appearance="field-list" to the group tag surrounding the questions. \> \> \> 2) can i have horizontal input field as list widget for radio button \> \> or check box? \> \> no. \> \> \> 3) in which case String number widget is called? \> \> \> \> String field that uses only numbers (plus a couple extra) \> Takes 0-9, -, +, ., space, and comma \> \> \> you can find the examples of what we support athttp://code.google.com/p/opendatakit/source/browse?repo=formsandhttp://opendatakit.appspot.com. the new widgets form has examples of \> what is upcoming in collect 1.1.7.

---

<div class="post-metadata">

**Author:** ![Vinit\_Sharma](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/e480ec/32.png) [@Vinit\_Sharma](https://forum.getodk.org/u/Vinit_Sharma)\
**Post date:** [October 27, 2011, 7:51am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/27 "2011-10-27T07:51:51Z")

</div>

Hello all,

i want to know that can i use condition for read only property like it  
is in case of relevent or constraint

for example i want to set read only property true of input field if  
user selects particular option in type select otherwise false

please help with this.

Thanks in advance

> **···**
>
> On Sep 30, 5:46 pm, Yaw Anokwa wrote: \> \> 1) I want to ask about multiple questions in one screen for which i \> \> made form like below \> \> \> \> \>\> section a \> \>\> \> \>\> enter Number \> \>\> \> \>\> \> \>\> section b \> \>\> \> \>\> enter Number \> \>\> \> \>\> \> \>\> section c \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \> if you want multiple questions per screen, add a \> appearance="field-list" to the group tag surrounding the questions. \> \> \> 2) can i have horizontal input field as list widget for radio button \> \> or check box? \> \> no. \> \> \> 3) in which case String number widget is called? \> \> \> \> String field that uses only numbers (plus a couple extra) \> Takes 0-9, -, +, ., space, and comma \> \> \> you can find the examples of what we support athttp://code.google.com/p/opendatakit/source/browse?repo=formsandhttp://opendatakit.appspot.com. the new widgets form has examples of \> what is upcoming in collect 1.1.7.- Hide quoted text - \> \> - Show quoted text -

---

<div class="post-metadata">

**Author:** ![Vinit\_Sharma](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/v/e480ec/32.png) [@Vinit\_Sharma](https://forum.getodk.org/u/Vinit_Sharma)\
**Post date:** [October 27, 2011, 9:53am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/28 "2011-10-27T09:53:57Z")

</div>

Hello all,

sorry for my earlier post actually i want ask about required property  
like can we set particular field required = true if user selects  
particular option  
as we do in case of relevent or constraint

Any help would be appriciated

Best Regards  
Vinit

> **···**
>
> On Oct 1, 6:46 am, Yaw Anokwa wrote: \> \> 1) I want to ask about multiple questions in one screen for which i \> \> made form like below \> \> \> \> \>\> section a \> \>\> \> \>\> enter Number \> \>\> \> \>\> \> \>\> section b \> \>\> \> \>\> enter Number \> \>\> \> \>\> \> \>\> section c \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \>\> \> \> if you want multiple questions per screen, add a \> appearance="field-list" to the group tag surrounding the questions. \> \> \> 2) can i have horizontal input field as list widget for radio button \> \> or check box? \> \> no. \> \> \> 3) in which case String number widget is called? \> \> \> \> String field that uses only numbers (plus a couple extra) \> Takes 0-9, -, +, ., space, and comma \> \> \> you can find the examples of what we support athttp://code.google.com/p/opendatakit/source/browse?repo=formsandhttp://opendatakit.appspot.com. the new widgets form has examples of \> what is upcoming in collect 1.1.7.- Hide quoted text - \> \> - Show quoted text -

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [October 5, 2011, 4:47am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/29 "2011-10-05T04:47:17Z")

</div>

we support multiple languages. see  
[http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=forms](http://code.google.com/p/opendatakit/source/browse/Widgets.xml?repo=forms)  
for an example.

> **···**
>
> On Tue, Oct 4, 2011 at 21:42, Vinit Sharma wrote: \> \> Hello all, \> \> I want to know ODK parser only support English language or it can \> support multi language . \> \> what if i give in form like \> \> to lang="chinese"\> or \> \> please help regarding it \> \> Best Regards \> \> Vinit Sharma \> \> \> On Oct 1, 2:46 am, Yaw Anokwa wrote: \>\> \> 1) I want to ask about multiple questions in one screen for which i \>\> \> made form like below \>\> \>\> \> \>\> \>\> section a \>\> \>\> \>\> \>\> enter Number \>\> \>\> \>\> \>\> \>\> \>\> section b \>\> \>\> \>\> \>\> enter Number \>\> \>\> \>\> \>\> \>\> \>\> section c \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> if you want multiple questions per screen, add a \>\> appearance="field-list" to the group tag surrounding the questions. \>\> \>\> \> 2) can i have horizontal input field as list widget for radio button \>\> \> or check box? \>\> \>\> no. \>\> \>\> \> 3) in which case String number widget is called? \>\> \>\> \>\> \>\> String field that uses only numbers (plus a couple extra) \>\> Takes 0-9, -, +, ., space, and comma \>\> \>\> \>\> you can find the examples of what we support athttp://code.google.com/p/opendatakit/source/browse?repo=formsandhttp://opendatakit.appspot.com. the new widgets form has examples of \>\> what is upcoming in collect 1.1.7. \> \> -- \> Post: opendatakit@googlegroups.com \> Unsubscribe: opendatakit+unsubscribe@googlegroups.com \> Options: http://groups.google.com/group/opendatakit?hl=en \>

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [October 28, 2011, 5:33am UTC](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645/30 "2011-10-28T05:33:56Z")

</div>

yup. the required attribute looks for true() or false(). if you can  
have an xpath expression that returns either value (like the relevancy  
conditions) it should work.

i haven't tried this, so please file a bug at  
[http://code.google.com/p/opendatakit/issues/list](http://code.google.com/p/opendatakit/issues/list) with a test form if  
it doesn't work.

> **···**
>
> On Thu, Oct 27, 2011 at 02:53, Vinit Sharma wrote: \> \> Hello all, \> \> sorry for my earlier post actually i want ask about required property \> like can we set particular field required = true if user selects \> particular option \> as we do in case of relevent or constraint \> \> Any help would be appriciated \> \> \> Best Regards \> Vinit \> \> \> On Oct 1, 6:46 am, Yaw Anokwa wrote: \>\> \> 1) I want to ask about multiple questions in one screen for which i \>\> \> made form like below \>\> \>\> \> \>\> \>\> section a \>\> \>\> \>\> \>\> enter Number \>\> \>\> \>\> \>\> \>\> \>\> section b \>\> \>\> \>\> \>\> enter Number \>\> \>\> \>\> \>\> \>\> \>\> section c \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> \>\> if you want multiple questions per screen, add a \>\> appearance="field-list" to the group tag surrounding the questions. \>\> \>\> \> 2) can i have horizontal input field as list widget for radio button \>\> \> or check box? \>\> \>\> no. \>\> \>\> \> 3) in which case String number widget is called? \>\> \>\> \>\> \>\> String field that uses only numbers (plus a couple extra) \>\> Takes 0-9, -, +, ., space, and comma \>\> \>\> \>\> you can find the examples of what we support athttp://code.google.com/p/opendatakit/source/browse?repo=formsandhttp://opendatakit.appspot.com. the new widgets form has examples of \>\> what is upcoming in collect 1.1.7.- Hide quoted text - \>\> \>\> - Show quoted text - \> \> -- \> Post: opendatakit@googlegroups.com \> Unsubscribe: opendatakit+unsubscribe@googlegroups.com \> Options: http://groups.google.com/group/opendatakit?hl=en \>

[Previous page](https://forum.getodk.org/t/conditional-jump-and-lock-question-in-xform/645.md?page=1)
