Tres desplegables pero que se comuniquen entre si ( Three related ListPickers)

Hola, gracias por tu respuesta.Si la votación será anónima solo necesito que cada docente seleccione el municipio,la parroquia y escuela desde la cual esta votando y seleccione una de las propuestas y que esas selecciones se registren en una hoja de calculo mediante el boton enviar.

How do you plan to stop duplicate voting?

No habrá votación duplicada porque la app la manejara un responsable que solo enviará los votos que vaya recabando, es decir le preguntara a los docentes e ira marcando el mismo en todos los casos proyectando en pantalla lo que hace. por eso aunque intuyo que no es complicado hacer a app no se como organizar los bloques

Having some pre-populated reference sheets in place can make the app easier.

Here is a sample for you to study for the New Yourk City Marathon, with pre-populated runner lists (comparable to your teacher/school list), and a Checkpoints sheet corrresponding to the voter issues, and a sheet bringing runners and checkpoints together duing the race (vote.)

I hope you can read English better than how I read the translation of whatever language you speak.

Yes i understand. Now i have to learn how use the blocks y apo inventor to do the listpicker, and blocks

Ok, after reading hours and hours I realize that what I want (Remember that I am new and super amateur) is a listpicker, I already made them, now the problem is that I have no idea how to organize the blocks. Let's see if I explain myself; I have a csv file column 1 Municipalities, column 2 parishes, column 3 schools that will vote, I want that when the person selects a municipality (listpicker 1) in the list picker 2 (parish) only the parishes that belong to that municipality are shown. I attach my practices that I have done but until now I have only been able to make them all show (that is, without filtering) :frowning: If you could offer me a model of something to guide me, I would be grateful.

(mis intentos a ver si lo logro, my tries but without sucess) pero mis pocos conocimientos me juegan en contra. my knowlegede is not enough bur i want to learn
image

Do you have lists of all those municipality, parish, and school names pre-prepared for inclusion in the app?

Here is a sample table structure for you to study.

The table allows for a journey from the Big Bang to MIT in several steps, using a single table to show all the geographic parent-child relationships.

An example of how to filter the data of the following ListPicker depending on the selection of the before one:

The first listPikcer shows the first items (municipalities) with no repetitions.

The next ListPicker shows the second items (parishes) of the rows with the municipality selected in the previous listPicker (mun3 in my example).

The third one shows the third items (schools) of the rows with the municipality and parish selected in the previous listPickers (mun3 and par3 in my example).

MUchas gracias a todos, seguire estudiando y aplicando esos ejemplos, estoy seguro que lo lograré con paciencia. Me doy cuenta por el ejemplo y la pregunta de las listas que me hacen es que al parecer segun veo, no tengo el cvs configurado u organizado correctamente y debo empezar por organizar los datos miren como los tengo en el csv y no se rian estoy aprendiendo. jejejeje

Can you share the cvs file? (I think that removing the first row and first column it could work in my example)

image

Estoy entendiendo que debo hacer esta partes con esa estructura y yo pensaba que se hacian automaticamente con el archivo csv al ordenar los bloques

In my example, like i have not any cvs file, I have used that firs structure, like example....trying to simulate your data schema. You have to read the file first and then, you will have something similar (to my "cvsTable" variable) to start with.

ahi comapartí el Csv

But you have all the data in the first column....

esta es la tabla con la que hice el Csv

Mun_Par_School.aia (16.7 KB)

The project includes the csv file, which is read when Initialize the screen.

GRacias Ramón me pondré a estudarlo bien y a replicarlo. estoy muy agradecido por tu tiempo y dedicación para con un amateur como yo, serñe buen estudiante.

1 Like