";
foreach ($data['fields'] as $key => $item) {
if (count($data['fields']) == 1) {
$item['settings']['label'] = '';
}
$item['attributes']['name'] = $rootName.'['.$key.'][]';
$item = apply_filters_deprecated(
'fluentform_before_render_item',
[
$item,
$form
],
'fluentform/before_render_item',
'Use fluentform/before_render_item instead of fluentform_before_render_item.'
);
$item = $this->app->applyFilters('fluentform/before_render_item', $item, $form);
echo "
";
do_action_deprecated(
'fluentform_render_item_' . $item['element'],
[
$item,
$form
],
FLUENTFORM_FRAMEWORK_UPGRADE,
'fluentform/render_item_' . $item['element'],
'Use fluentform/render_item_' . $item['element'] . ' instead of fluentform_render_item_' . $item['element']
);
$this->app->doAction('fluentform/render_item_' . $item['element'], $item, $form);
echo "
";
}
echo "