Inscrire les définitions du champ dans vos formulaires XML

Print

The field is generated by PHP code in the component, but the proper markup may be obtained only after having registered the Krizalys Countries field in your XML forms.

This is done by setting a proper value to the addfieldpath attribute for either the <field> or the <fieldset> elements. In the latter case, it affects all the field that it contains. Here is a working example:

Print

  1. <fieldset
  2. name="test"
  3. addfieldpath="/administrator/components/com_krizalys_countries/models/fields"
  4. >
  5. <!-- Your fields go here; Krizalys Countries fields will be recognized here -->
  6. </fieldset>