public function init()
{
$txt = $this->createElement('text', '0')
->setBelongsTo('txt');
$this->addElement($txt);
$fields = $this->createElement('text', '0')
->setBelongsTo('fields');
$this->addElement($fields);
}
But in this case one of fields is not displayed. How to make both field's arrays start from 0.
I could leave txt[] and fields[] but when I do this->populate($_POST); it doesn't work.