I have a data type lookups with lots of user defined values that then appear within dropdowns in my app. I’m creating an environment where the user can manage these.
So an example of some lookup values would be:
type value
==================
gender male
gender female
gender transexual
region north
region south
region east
region west
I’m thinking about this kind of structure, where I just list the lookup values within a form and an input in a repeat region:
as it repeats you will get errors because the form names are the same. So what you need to do is add $index to the end of form names. so as it repeats the variables also change by adding the index to the name
what about just having a table in the database that you pull from. Then just have insert/update scripts to change the values? Or am I missing something?
table called gender with the 3 values as data?
table called region with 4 values as data?