# Returning the value of a variable from controller to form or

**URL:** <https://www.ruby-forum.com/t/returning-the-value-of-a-variable-from-controller-to-form-or/169660>\
**Category:** Rails\
**Created:** [June 6, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/returning-the-value-of-a-variable-from-controller-to-form-or/169660 "2009-06-06T13:27:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cp\_almora](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@cp\_almora](https://www.ruby-forum.com/u/cp_almora)\
**Post date:** [June 6, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/returning-the-value-of-a-variable-from-controller-to-form-or/169660/1 "2009-06-06T13:27:07Z")

</div>

hello everybody  
Actually i am new to zend framework. I know that i can return a value of  
a variable from a form to the controller. Can I also return a value from  
the controller to any form or any model? If this is possible then please  
tell me that how can we do it.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![cp\_almora](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@cp\_almora](https://www.ruby-forum.com/u/cp_almora)\
**Post date:** [June 6, 2009, 1:34pm UTC](https://www.ruby-forum.com/t/returning-the-value-of-a-variable-from-controller-to-form-or/169660/2 "2009-06-06T13:34:31Z")

</div>

2009/6/6 Chandra P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> hello everybody  
> Actually i am new to zend framework. I know that i can return a value of  
> a variable from a form to the controller. Can I also return a value from  
> the controller to any form or any model? If this is possible then please  
> tell me that how can we do it.

I thought zend was a php framework, in some sense a competitor of  
Rails. I did not know you could do Rails in the zend framework.

Colin
