[eluser]mgandha[/eluser]
Hi,
I am using Freakauth and trying to reload my pages with additional rows of the same fields based on parameter in URL
/accounting/addtrans/5 -- will return 5 rows in the view
The behaviour im looking for is actually on a row increment where i recall the page again with /accounting/addtrans/6 ,
I want the fields to not be refreshed, just like fields after validation. I was actually expecting this behaviur to just work as both submission and increment calls the controller in the same way. (as in the form action is /accounting/addtrans/## as well)
View (it is using the fal_validation->[fieldname] to save the fields):
[code]<td>
<?=form_input(array('name'=>'voucher_no'.$counter,
'id'=>'voucher_no',
'maxlength'=>'20',
'size'=>'10',
'value'=>(isset($this->fal_validation) ? $this->fal_validation->{'voucher_no'.$counter} : '')))?>
<?=(isset($this->fal_validation) ? $this->fal_validation->{'voucher_no'.$counter.'_error'} : '')?>
</td>
<td>
<?=form_dropdown('trans_type'.$counter,
$trans_type,
(isse