Hello,
Okay, here is solution for the latest version of the Forms component -
1.6.2
Add this code:
if ($type == 'terms') {
$body = $this->letter;
$pos = strpos($body, 'item='.$item->id. ']');
$pos = strpos($body, '>', $pos);
$start = substr($body, 0, $pos);
$end = substr($body, $pos);
$str = ' style="display:none;"';
$this->letter = $start.$str.$end;
}
after line 1731 in the file components/com_baforms/models/form.php
Regards,