Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Example: Let's suppose we have two custom fields: one KCF one PCF - Single Autocomplete and one KCF one PCF - Multiple Autocomplete, the second one is populated depending on the value of the first one.

An easy example would be: the first custom field has five options, representing the five continents and the second one contains the countries from some table ("countries"), depending on the value selected on the first one. 

...

Note

For the moment, dependent fields can only be used by the two custom fields with autocomplete, and can only be referred in SIL data sources.

From KCF Pro Power Custom Fields PRO 4.0.0, you can now use the dependent fields on SQL data sources as well.

In order to get the value set on the screen for one custom field, you will have to refer it like this: "argv[customfield_id]"

...