I need to integrate a custom field in the user component of joomla core that allows me to list some data in a select, I get this data from an endpoint, and because this type of field does not exist between the predefined ones, I understand I must create a custom form field type. I am following this guide https://docs.joomla.org/Creating_a_custom_form_field_type. I have created a custom form field type in the location
administrator/components/com_users/models/fields/cutsomfieldtype.php, the documentation mentions that in order to use the custom form field type I must update the xml file that contains the form fields definition, it also mentions that this xml should be located at
administrator/components/com_users/models/form but in the
com_user component I can't find this xml file, in this location there are many xml files but not one that defines the fields.
If I am misinterpreting this please let me know. I welcome your comments