Example 6 - More dependent fields
In the Power Customer Fields example using countries and letters, you can select a letter in a custom field based on a country selected in a different custom field.
The following video has information about how dependent fields work.
Script details
The options for the Country custom field were taken from the database. The following scripts are used in this example:
Country data source
return {"Romania", "France", "Norway", "Spain"};
Letters data source
string[] letters = {};
string cfname="Country";
for(int i=0; i<length(argv[cfname]); ++i) {
letters += argv[cfname][i];
}
return letters;
See More
Does this still need to be in the document? It looks like it can be removed.