I have build a form with choice_filter for geographical breakdown from level admin1 to level admin2 to level admin3. For level admin4, it would be a very very long still with choice_filter so I want to make it a text entry BUT with validation criteria to see if the text entered actually matches the list of admin4 possibilities. Basically to avoid data cleaning on level admin4.
In my case from a higher level of taxonomic categories (i.e fishes, reptiles, crustaceans, etc) select a species that belong to the selected category. In my case, when fish category is selected, the select list contains more than 3000 items.
@MargauxSaillard, as advised by @wroos, its always good to use the external CSV files for cascading selects when you have a long list of choices. This post discussed previously should show you how it’s done: