New answers tagged form
2
votes
Accepted
Get the form fields as defined in the form xml file
There is Joomla\CMS\Form\Form::getFieldset() method for returning an array of fields belonging to a fieldset as Joomla\CMS\Form\FormField objects.
$fieldNames = [];
foreach ($form->getFieldset('...
0
votes
Get the form fields as defined in the form xml file
After further reading of the joomla documentation, unless I've missed something, there isn't a ready made function to get the field names as defined in a xml form field file. There is a [getXml][1] ...
Top 50 recent answers are included
Related Tags
form × 136joomla-3.x × 52
component × 18
php × 14
jform × 13
plugin × 12
form-fields-types × 12
development × 10
ajax × 10
xml × 9
custom-component × 8
fields × 7
validations × 7
database × 6
custom-field × 6
editor × 6
joomla-2.5 × 5
module × 5
mysql × 5
joomla-4.x × 5
joomla-3.4 × 4
user × 4
security-token × 4
extensions × 3
joomla-3.3.x × 3