For our application we developed a very complex set of forms as part of our custom profile plugin; this all worked fine up to Joomla 3.
I have now converted it to Joomla 4 and most of the forms are working correctly. The only problem is with custom field types within subforms. The subforms themselves are displaying well with the standard fields showing correctly. The fields with the custom field types only show the previously entered value and there is no selection available - like a text field.
I checked the related field code and that is not being called. There are no errors being raised.
I have looked at the subformfield code. This loads the form and the form data using the
Form method getInstance, which calls the FormFactory to get the form. This creates a new Form using the data supplied but doesn't get the custom fields.
I use custom fields elsewhere within the forms not within subforms and they are working correctly.
Please Help.
Regards,
Peter