how to populate a value in some element using zend_form

Posted by user1400 on Stack Overflow See other posts from Stack Overflow or by user1400
Published on 2010-04-05T11:37:39Z Indexed on 2010/04/05 11:43 UTC
Read the original article Hit count: 243

Filed under:
|
|

i have some fields in my table,and a phone field , i save filed like this in this filed 111-222-5555

now i want to all of my fields , and populate in my form , i want populate phone in 3 elements

when i try to this code

$id = $this->_request->getParam ( 'id' );
$values = $cutomModel->findCustomerById($id);// return array of row 
$frm->populate($values); 

all fields show in form except phone field ,

how can i populate phone field in 3 elements

thanks

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about zend-form