Hi
i want to display if possible a field from another table
table a has group_id linked to group table..in edit it shows me the group_id i want to display near it the libelle of groupe
i m just starting in cakephp
please fine the code
<div class="acnopens form">
<?php echo $this->Form->create('Acnopen'); ?>
<fieldset>
<legend><?php echo __('Edit Acnopen'); ?></legend>
<?php
echo $this->Form->input('acn_id');
echo $this->Form->input('date');
echo $this->Form->input('name');
echo $this->Form->input('details');
echo $this->Form->input('group_id');
echo $this->Form->input('customer_id');
echo $this->Form->input('cb');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
<h3><?php echo __('Actions'); ?></h3>
<ul>
<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Acnopen.acn_id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Acnopen.acn_id'))); ?> </li>
<li><?php echo $this->Html->link(__('List Acnopens'), array('action' => 'index')); ?></li>
<li><?php echo $this->Html->link(__('List Groups'), array('controller' => 'groups', 'action' => 'index')); ?> </li>
<li><?php echo $this->Html->link(__('New Group'), array('controller' => 'groups', 'action' => 'add')); ?> </li>
<li><?php echo $this->Html->link(__('List Customers'), array('controller' => 'customers', 'action' => 'index')); ?> </li>
<li><?php echo $this->Html->link(__('New Customer'), array('controller' => 'customers', 'action' => 'add')); ?> </li>
</ul>
</div>