<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Review Method</title><link>https://www.aras.com/community/f/development/3790/review-method</link><description>I want to write a code get the value enter by user in the field one to get that value in the field two on cilck of button.Check below code..

 

document.getElementsByName(&amp;quot;field_one&amp;quot;).value=&amp;quot;&amp;quot;;

var fieldtwo = document.getElementsByName(&amp;quot;field_one&amp;quot;)</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Review Method</title><link>https://www.aras.com/community/thread/1368?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 17:00:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4eeed0e9-0ab3-4cbb-8a93-0eb8f1cf76f8</guid><dc:creator>Eli Donahue</dc:creator><description>Hi Mily,

Just to confirm I understand your question: You want the user to enter a value in Field A, click a button, and have the same value appear in Field B? If that is the case, you can do something like this in an onClick event on the button field:
&lt;pre&gt;var a = getFieldByName(&amp;quot;Field A&amp;quot;).getElementsByTagName(&amp;quot;input&amp;quot;)[0];
var b = getFieldByName(&amp;quot;Field B&amp;quot;).getElementsByTagName(&amp;quot;input&amp;quot;)[0];
b.value = a.value;&lt;/pre&gt;
Eli

&lt;hr /&gt;

Eli Donahue

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>