# Getting field value from Child window (Dialog box) - Redbox?

**URL:** <https://www.ruby-forum.com/t/getting-field-value-from-child-window-dialog-box-redbox/109710>\
**Category:** Rails\
**Created:** [July 18, 2007, 7:39am UTC](https://www.ruby-forum.com/t/getting-field-value-from-child-window-dialog-box-redbox/109710 "2007-07-18T07:39:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unnikrishnanes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/ce73a5/32.png) [@unnikrishnanes](https://www.ruby-forum.com/u/unnikrishnanes)\
**Post date:** [July 18, 2007, 7:39am UTC](https://www.ruby-forum.com/t/getting-field-value-from-child-window-dialog-box-redbox/109710/1 "2007-07-18T07:39:49Z")

</div>

Hi All

I have a page in which I have a text field followed by an ‘add’ button.  
When I click on the add button it should open another page or dialogbox(  
having its own template). When this dialogbox/page is active I should  
not be able to type in the parent page[ I mean something like redbox or  
thick box]. The page/dialogbox have a text field and a submit button .  
and when I type something in the diologbox/page, the entered value  
should display in the field in the parent page.

I tried redbox & think box but I am not able to get the value back into  
the parent window.

Please help…

Thanks in advance.

Unnikrishnan
