Hi,
I am working with templatePicker. I wanted to know how do I restrict the number of fields while editing the attributes of feature?
Currently I am getting 32 number of fields. Which I need to restrict to 10-12.

I think I need to make changes in layerinfos section of settings variable (line 4). Don't know how to proceed. any help would be really appreciated.
<SPAN class="keyword token">var</SPAN> settings <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">{</SPAN>
map<SPAN class="punctuation token">:</SPAN> map<SPAN class="punctuation token">,</SPAN>
templatePicker<SPAN class="punctuation token">:</SPAN> templatePicker<SPAN class="punctuation token">,</SPAN>
layerInfos<SPAN class="punctuation token">:</SPAN> layers<SPAN class="punctuation token">,</SPAN>
toolbarVisible<SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">,</SPAN>
createOptions<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">{</SPAN>
polylineDrawTools<SPAN class="punctuation token">:</SPAN><SPAN class="punctuation token">[</SPAN> Editor<SPAN class="punctuation token">.</SPAN>CREATE_TOOL_FREEHAND_POLYLINE <SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">,</SPAN>
polygonDrawTools<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN> Editor<SPAN class="punctuation token">.</SPAN>CREATE_TOOL_FREEHAND_POLYGON<SPAN class="punctuation token">,</SPAN>
Editor<SPAN class="punctuation token">.</SPAN>CREATE_TOOL_CIRCLE<SPAN class="punctuation token">,</SPAN>
Editor<SPAN class="punctuation token">.</SPAN>CREATE_TOOL_TRIANGLE<SPAN class="punctuation token">,</SPAN>
Editor<SPAN class="punctuation token">.</SPAN>CREATE_TOOL_RECTANGLE
<SPAN class="punctuation token">]</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">,</SPAN>
toolbarOptions<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">{</SPAN>
reshapeVisible<SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">true</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">var</SPAN> params <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">{</SPAN> settings<SPAN class="punctuation token">:</SPAN> settings <SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">var</SPAN> myEditor <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">Editor</SPAN><SPAN class="punctuation token">(</SPAN>params<SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'editorDiv'</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>Regards,
Alif