What I'd like to do is this

To put two fields (o more) in the same line for the Add/Edit form, changing the design.
I'm trying this
[php]//**** 'boca_escenari' and 'prof_escenari' are real fields. 'escenari' it's not real ******
$crud->edit_fields('boca_escenari', 'prof_escenari', 'escenari');
$crud->change_field_type('boca_escenari', 'hidden');
$crud->change_field_type('prof_escenari', 'hidden');
$crud->callback_edit_field('escenari', array($this, 'edit_escenari_callback'));
//**** next two lines are necessari for working *******
$crud->callback_edit_field('boca_escenari', function(){return'';});
$crud->callback_edit_field('prof_escenari', function(){return'';});
function edit_escenari_callback($value = null, $primary_key = null)
{
return '<input type="text" name="boca_escenari" id="boca_escenari" class="numeric" maxlength="5" style="width:100px">'.' x '.'<input type="text" name="prof_escenari" id="prof_escenari" class="numeric" maxlength="5" style="width:100px">m';
}[/php]
At the moment, whatever I write in my custom fields is saved in the database table. The problem is, when I'm editing, I can't read the value of the table fields. Is it possible to read in a callback the value of other field (not that one)??
I think this could be usefull, cause we could re-design the forms as we wish.
Thanks.

