I have a custom form template. It works well with new records, but it doesn't work editing, doesn't change the record. Any help please? I'm using
$element = $this->groups['Contratos Oncall']->elements['salario'];
?>
<div class="control-group <?php echo $element->containerClass ; ?>">
<div class="fabrikElement myElement">
<?php echo $element->element;?>
</div>
</div>
$element = $this->groups['Contratos Oncall']->elements['salario'];
?>
<div class="control-group <?php echo $element->containerClass ; ?>">
<div class="fabrikElement myElement">
<?php echo $element->element;?>
</div>
</div>