<?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>generate fields</title><link>https://www.aras.com/community/f/development/3786/generate-fields</link><description>I want to write code for on click on button?so that different fields will occur</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: generate fields</title><link>https://www.aras.com/community/thread/1376?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 15:28:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:64a9bb85-f611-4e9a-9db3-a128bed61104</guid><dc:creator>Eli Donahue</dc:creator><description>Hi Mily,

Can you provide more detail about what you are trying to achieve? It sounds like you want to create an OnClick event for a button field on a form. To do so you can do the following:
&lt;ol&gt;
 	&lt;li&gt;Open the form for editing.&lt;/li&gt;
 	&lt;li&gt;Click the &amp;quot;button&amp;quot; button in the form editor toolbar to add a new button field.&lt;/li&gt;
 	&lt;li&gt;Confirming that the button is selected in the editor, click the Field Events tab.&lt;/li&gt;
 	&lt;li&gt;Add a new Field Event method with event=&amp;quot;onClick&amp;quot;.&lt;/li&gt;
 	&lt;li&gt;Save the Form.&lt;/li&gt;
 	&lt;li&gt;Right click the Field Event row and select &amp;quot;View Method&amp;quot;.&lt;/li&gt;
 	&lt;li&gt;Lock the method and write the code you want to execute when the button is clicked.&lt;/li&gt;
&lt;/ol&gt;
Eli

&lt;hr /&gt;

Eli Donahue

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