Nested Cpf Csv Lists

Allows complex chained dropdown choices of custom profile fields.

Set Custom Profile Field list fields to have a default value like countries.csv|country to source list options from CSV files under /private_data. You can set up chained list fields (e.g. chain a state field to a country field), via a syntax like countries.csv|state|countries.csv|country. You can use this with multiple CSV files to essentially use CSV files like normalised database tables (hence why countries.csv is repeated twice in the example). The first line in the CSV file is for the header names (which country and state reference in these examples).

System Requirements / Dependencies

PHP5.2

Licence

Common Public Attribution License
Back to Top