form.php
<?php echo form_tag('branchOfficialMTL/UpdateMyAddressemail', array('id' => 'person_edit')); ?>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="PUT" />
<?php endif; ?>
<table>
<tfoot>
<tr>
<td colspan="2">
<?php echo $form->renderHiddenFields() ?>
<input type="submit" value="Save" />
</td>
</tr>
</tfoot>
</table>
</form>
After submit form i found :-
var_dump($request->isMethod('post'));die;
result :- bool(false)
So I need result bool(true)
I guess you need to modify your form to be something like <form method="post" action="...">...</form>
AND You need to update this piece of code as well:
<input type="hidden" name="sf_method" value="PUT" />
into
<input type="hidden" name="sf_method" value="POST" />