Register the field definitions in your XML forms
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: