Repeat Question

Hi Commcare Users,

Has anyone used repeat questions? I couldn't make it work for some
reason.

Thanks in advance

William Aviles

PS To Daniel Roberts: This form is in the Nicaragua Domain, in the
"SISTEMA NACIONAL DE BENEFICIO SOCIAL" application.

Here is the xml:

<?xml version="1.0" encoding="UTF-8" ?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://
openrosa.org/jr/xforms" xmlns="XForms Namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://
openrosa.org/javarosa">
<h:head>
<h:title>registro_vivienda</h:title>




<municipios_masaya />
<municipios_managua />









<codigo_persona />
<nombres_apellidos />

<birth_date />











<bind nodeset="/datos/Sector" type="xsd:string" required="true()" /

		<bind nodeset="/datos/barrio" type="xsd:string" required="true()" /
		<bind nodeset="/datos/vivienda" type="xsd:int" required="true()" />
		<bind nodeset="/datos/direccion" type="xsd:string" />
		<bind nodeset="/datos/ficha" type="xsd:int" required="true()" />
		<bind nodeset="/datos/fechavisita" type="xsd:date"

required="false()" />













SILAIS


SILAIS de la vivienda


Managua


Masaya


Municipio


Nandasmo


Nindirí


Municipio


Tipitapa


Ticuantepe


Sector


Barrio o Comunidad


Numero de Vivienda


Dirección o referencia exacta de la vivienda


Número de Ficha


Fecha de la Visita


Información de la Familia


Código de la Persona


Nombres y Apellidos


Cédula


Fecha de Nacimiento


Acta de Nacimiento


Si


No


Está inscrito en el registro?


Si


No


Edad


Municipio


Etnia


Mestizo


Informacion de la Famila




SILAIS


SILAIS


Managua


Masaya


Municipality


Nandasmo


Nindiri


Municipality


Tipitapa


Ticuantepe


Sector


Neighborhood


House Number


Exact address


Form Number


Date of visit


Family Information


Person Id


Name


Identification Number


Date of Birth?


Birth certificate?


Yes


No


Is in the public registry?


Yes


No


Age


Municipality


Etnia


Mestizo


Family Information




</h:head>
<h:body>




Managua
managua


Masaya
masaya





Nandasmo
nandasmo


Nindirí</
label>
nindiri





Tipitapa
tipitapa


Ticuantepe
ticuantepe











































si



no






si



no









mestizo




</h:body>
</h:html>

William,

Can you elaborate a bit more about the form? What is the failure that you
are encountering?

-Clayton

··· On Fri, Dec 9, 2011 at 12:19 PM, wmonterrey wrote:

Hi Commcare Users,

Has anyone used repeat questions? I couldn't make it work for some
reason.

Thanks in advance

William Aviles

PS To Daniel Roberts: This form is in the Nicaragua Domain, in the
"SISTEMA NACIONAL DE BENEFICIO SOCIAL" application.

Here is the xml:

<?xml version="1.0" encoding="UTF-8" ?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://
openrosa.org/jr/xforms" xmlns="XForms Namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://
openrosa.org/javarosa">
<h:head>
<h:title>registro_vivienda</h:title>




<municipios_masaya />
<municipios_managua />









<codigo_persona />
<nombres_apellidos />

<birth_date />











<bind nodeset="/datos/Sector" type="xsd:string"
required="true()" /

                   <bind nodeset="/datos/barrio" type="xsd:string"

required="true()" /

                   <bind nodeset="/datos/vivienda" type="xsd:int"

required="true()" />
















SILAIS


SILAIS de la
vivienda


Managua


Masaya


Municipio


Nandasmo


Nindirí


Municipio


Tipitapa


Ticuantepe


Sector


Barrio o
Comunidad


Numero de
Vivienda


Dirección o
referencia exacta de la vivienda


Número de
Ficha


Fecha de la
Visita


Información de la
Familia


Código de la
Persona


Nombres y
Apellidos


Cédula


Fecha de
Nacimiento


Acta de
Nacimiento


Si


No


Está inscrito en el
registro?


Si


No


Edad


Municipio


Etnia


Mestizo


Informacion de la
Famila




SILAIS


SILAIS


Managua


Masaya


Municipality


Nandasmo


Nindiri


Municipality


Tipitapa


Ticuantepe


Sector


Neighborhood


House Number


Exact address


Form Number


Date of visit


Family
Information


Person Id


Name


Identification
Number


Date of
Birth?


Birth
certificate?


Yes


No


Is in the public
registry?


Yes


No


Age


Municipality


Etnia


Mestizo


Family
Information




</h:head>
<h:body>




Managua
managua


Masaya
masaya





Nandasmo
nandasmo


Nindirí</
label>
nindiri





Tipitapa
tipitapa


Ticuantepe
ticuantepe











































si



no






si



no









mestizo




</h:body>
</h:html>

Hi Clayton

The form is to collect info about houses in the community. Questions in the top are about location, and the repeat question is for all the persons living in the house. I used Vellum to design the form and in the HQ does not show any error.

In the emulator I can't pass from the trigger question. When I try it in the phone, it says "Unhandled exception. Do you want to close the application?" it allows me to answer yes or no.

Not sure if you need anything more specific.

Thanks

William

··· From: Clayton Sims Sent: Friday, December 09, 2011 11:37 AM To: commcare-users@googlegroups.com Subject: Re: Repeat Question

William,

Can you elaborate a bit more about the form? What is the failure that you are encountering?

-Clayton

On Fri, Dec 9, 2011 at 12:19 PM, wmonterrey wravmon@gmail.com wrote:

Hi Commcare Users,

Has anyone used repeat questions? I couldn't make it work for some
reason.

Thanks in advance

William Aviles

PS To Daniel Roberts: This form is in the Nicaragua Domain, in the
"SISTEMA NACIONAL DE BENEFICIO SOCIAL" application.

Here is the xml:

<?xml version="1.0" encoding="UTF-8" ?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://
openrosa.org/jr/xforms" xmlns="XForms Namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://
openrosa.org/javarosa">
<h:head>
<h:title>registro_vivienda</h:title>




<municipios_masaya />
<municipios_managua />









<codigo_persona />
<nombres_apellidos />

<birth_date />











<bind nodeset="/datos/Sector" type="xsd:string" required="true()" /

                     <bind nodeset="/datos/barrio" type="xsd:string" required="true()" /
                     <bind nodeset="/datos/vivienda" type="xsd:int" required="true()" />
                     <bind nodeset="/datos/direccion" type="xsd:string" />
                     <bind nodeset="/datos/ficha" type="xsd:int" required="true()" />
                     <bind nodeset="/datos/fechavisita" type="xsd:date"

required="false()" />













SILAIS


SILAIS de la vivienda


Managua


Masaya


Municipio


Nandasmo


Nindirí


Municipio


Tipitapa


Ticuantepe


Sector


Barrio o Comunidad


Numero de Vivienda


Dirección o referencia exacta de la vivienda


Número de Ficha


Fecha de la Visita


Información de la Familia


Código de la Persona


Nombres y Apellidos


Cédula


Fecha de Nacimiento


Acta de Nacimiento


Si


No


Está inscrito en el registro?


Si


No


Edad


Municipio


Etnia


Mestizo


Informacion de la Famila




SILAIS


SILAIS


Managua


Masaya


Municipality


Nandasmo


Nindiri


Municipality


Tipitapa


Ticuantepe


Sector


Neighborhood


House Number


Exact address


Form Number


Date of visit


Family Information


Person Id


Name


Identification Number


Date of Birth?


Birth certificate?


Yes


No


Is in the public registry?


Yes


No


Age


Municipality


Etnia


Mestizo


Family Information




</h:head>
<h:body>




Managua
managua


Masaya
masaya





Nandasmo
nandasmo


Nindirí</
label>
nindiri





Tipitapa
tipitapa


Ticuantepe
ticuantepe











































si



no






si



no









mestizo




</h:body>
</h:html>

William,

If you made the form with Vellum it sounds like an error in one of our
tools. Terribly sorry about the inconvenience, can you please submit a bug
report as outlined at
https://wiki.commcarehq.org/display/commcarepublic/Bug+Report+Template and
we'll get on fixing it right away.

Thanks!
-Clayton

··· On Fri, Dec 9, 2011 at 12:54 PM, William Aviles Monterrey <wravmon@gmail.com wrote:

**
Hi Clayton

The form is to collect info about houses in the community. Questions in
the top are about location, and the repeat question is for all the persons
living in the house. I used Vellum to design the form and in the HQ does
not show any error.

In the emulator I can't pass from the trigger question. When
I try it in the phone, it says "Unhandled exception. Do you want to close
the application?" it allows me to answer yes or no.

Not sure if you need anything more specific.

Thanks

William

From: Clayton Sims csims@dimagi.com
Sent: Friday, December 09, 2011 11:37 AM
To: commcare-users@googlegroups.com
Subject: Re: Repeat Question

William,

Can you elaborate a bit more about the form? What is the failure that you
are encountering?

-Clayton

On Fri, Dec 9, 2011 at 12:19 PM, wmonterrey wravmon@gmail.com wrote:

Hi Commcare Users,

Has anyone used repeat questions? I couldn't make it work for some
reason.

Thanks in advance

William Aviles

PS To Daniel Roberts: This form is in the Nicaragua Domain, in the
"SISTEMA NACIONAL DE BENEFICIO SOCIAL" application.

Here is the xml:

<?xml version="1.0" encoding="UTF-8" ?>

<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://
openrosa.org/jr/xforms" xmlns="XForms Namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://
openrosa.org/javarosa">
<h:head>
<h:title>registro_vivienda</h:title>




<municipios_masaya />
<municipios_managua />









<codigo_persona />
<nombres_apellidos />

<birth_date />











<bind nodeset="/datos/Sector" type="xsd:string"
required="true()" /

                   <bind nodeset="/datos/barrio" type="xsd:string"

required="true()" /

                   <bind nodeset="/datos/vivienda" type="xsd:int"

required="true()" />
















SILAIS


SILAIS de la
vivienda


Managua


Masaya


Municipio


Nandasmo


Nindirí


Municipio


Tipitapa


Ticuantepe


Sector


Barrio o
Comunidad


Numero de
Vivienda


Dirección o
referencia exacta de la vivienda


Número de
Ficha


Fecha de la
Visita


Información de la
Familia


Código de la
Persona


Nombres y
Apellidos


Cédula


Fecha de
Nacimiento


Acta de
Nacimiento


Si


No


Está inscrito en el
registro?


Si


No


Edad


Municipio


Etnia


Mestizo


Informacion de la
Famila




SILAIS


SILAIS


Managua


Masaya


Municipality


Nandasmo


Nindiri


Municipality


Tipitapa


Ticuantepe


Sector


Neighborhood


House Number


Exact
address


Form Number


Date of
visit


Family
Information


Person Id


Name


Identification
Number


Date of
Birth?


Birth
certificate?


Yes


No


Is in the public
registry?


Yes


No


Age


Municipality


Etnia


Mestizo


Family
Information




</h:head>
<h:body>




Managua
managua


Masaya
masaya





Nandasmo
nandasmo


Nindirí</
label>
nindiri





Tipitapa
tipitapa


Ticuantepe
ticuantepe











































si



no






si



no









mestizo




</h:body>
</h:html>