# External\_control option of in\_place\_editor\_field

**URL:** <https://www.ruby-forum.com/t/external-control-option-of-in-place-editor-field/140760>\
**Category:** Rails\
**Created:** [June 18, 2008, 11:21am UTC](https://www.ruby-forum.com/t/external-control-option-of-in-place-editor-field/140760 "2008-06-18T11:21:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![suneeta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b77776/32.png) [@suneeta](https://www.ruby-forum.com/u/suneeta)\
**Post date:** [June 18, 2008, 11:21am UTC](https://www.ruby-forum.com/t/external-control-option-of-in-place-editor-field/140760/1 "2008-06-18T11:21:37Z")

</div>

Hi…

I’m using in\_place\_editor\_field helper in Rails.

I did the following in view:

Edit  
\<%= in\_place\_editor\_field :node, :name, {:id =\> @node.id},  
{:external\_control =\> ‘edit\_’+node.id.to\_s} %\>

The above code is working. But it enters into edit mode when we click  
on the name to be edited and also when we click on the ‘Edit’ link. That  
is, we can edit the name in two ways, by clicking on the ‘Edit’ link and  
by clicking the name link.

I need to enter into edit mode only when we click on the ‘Edit’ link.  
How can I achieve this. Please help me to find a solution.  
I had spend a lot of my precious time on in\_place\_editor\_field. Please  
help…

Thanks  
Regards  
Suneeta
