elkekas
New Member
Joomla 4.26
Fabrikr 4b
When we have a multicolumn form there is a problem with the beginning and end of some fields. This is because there is an error in the code of the group.php file in the models directory. on line 549
$rowIx++;
The correct thing is to check that the field is not hidden, otherwise the hidden fields will also be checked to calculate the end of the line, giving unexpected results.
if (!$element->hidden)
{
$rowIx++;
}
In fabrik 3 code it is like this
Example form with 2 column with wrong code, the form with any hidden fields
With the correct code
Fabrikr 4b
When we have a multicolumn form there is a problem with the beginning and end of some fields. This is because there is an error in the code of the group.php file in the models directory. on line 549
$rowIx++;
The correct thing is to check that the field is not hidden, otherwise the hidden fields will also be checked to calculate the end of the line, giving unexpected results.
if (!$element->hidden)
{
$rowIx++;
}
In fabrik 3 code it is like this
Example form with 2 column with wrong code, the form with any hidden fields
With the correct code