I am trying to convert a J3 Component, I have it about 95% done, All the front end views show the data as desired. When I try to edit the data in the back end my form shows the field set but in its JSON format.
This is my fieldset
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'training', 'Training & PTO'); ?>
<div class="row">
<div class="col-md-12">
<fieldset id="training" class="adminform">
<?php
$this->fieldset = 'training';
$html = LayoutHelper::render('joomla.edit.fieldset', $this);
echo $html;
?>
</fieldset>
</div>
</div>
Here is a pic of the result for the PTO
I tried to use JSON_ENCODE on the $html output but it just out put \n \t instead of the data.
If anyone can point me in the right direction, I would appreciate it.
Steve