I have a dynamic form that is connected to a database. On it is a dropdown that I can populate with all of the records within a table in that connected database. However I want to only populate it with some of the records and not all of them. The records I want to populate it with will depend on what the user selects in two other dropdown fields. The database holds standards for food, pool, playground, etc. These also are broken down into what item they correspond to on the particular form they appear on. Here is how it works now. If the user picks a food form a checklist appears, and then the user could select item number 7 on the form, where a corresponding item appears dynamically on a separate page. It contains the dropdown I want to populate. I want the dropdown to list only those standards in the database that are associated with food standards and item number 7. I can do this using an xml file but it's hard to maintain so if I could do it using a connected database it would be easier to maintain. Hopefully this explains the situation well enough so that someone can understand it.
↧