<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/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>a!pickerFieldCustom</title><link>https://community.appian.com/discussions/f/new-to-appian/22498/a-pickerfieldcustom</link><description>Hi All, I have below requirement where Pickerfield to start search only when user enters more than 4 characters, else it should not search in the background. Appreciate your response here. Thank you !</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!pickerFieldCustom</title><link>https://community.appian.com/thread/87968?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 13:39:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b24bd8b2-107b-449f-904e-1aa0e42c6a07</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;The suggestion above is actually to update your rule ucArrayPickerFilter(), not the main function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!pickerFieldCustom</title><link>https://community.appian.com/thread/87967?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 13:28:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f942704-a130-4223-9792-9c3264e40a7d</guid><dc:creator>vinayp0002</dc:creator><description>&lt;p&gt;If that is the case you can modify your suggestFunction or you can create your own expression for that rule which would help in your case. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!pickerFieldCustom</title><link>https://community.appian.com/thread/87964?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 13:13:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d6e6301-c1ab-422d-8bd1-de038219576a</guid><dc:creator>Vamsy</dc:creator><description>&lt;p&gt;Hi VInay,&lt;br /&gt;Appreciate your time and response. However, my picker fields input is not coming from ruleInput. It will be as part of userInput in the pickerfield component.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;example:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt; &lt;span class="nf"&gt;a!pickerFieldCustom&lt;/span&gt;&lt;span class="ow"&gt;(&lt;/span&gt;
        &lt;span class="ss"&gt;label:&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;States&amp;quot;&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
        &lt;span class="ss"&gt;instructions:&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Enter the employee&amp;#39;s state of residence.&amp;quot;&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
        &lt;span class="ss"&gt;maxSelections:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
        &lt;span class="ss"&gt;suggestFunction:&lt;/span&gt; &lt;span class="no"&gt;rule!ucArrayPickerFilter&lt;/span&gt;&lt;span class="ow"&gt;(&lt;br /&gt;&lt;/span&gt;&lt;span class="ss"&gt;              filter:&lt;/span&gt; &lt;span class="n"&gt;_&lt;br /&gt;&lt;/span&gt;&lt;span class="ow"&gt;        ),&lt;/span&gt;
        &lt;span class="ss"&gt;value:&lt;/span&gt; &lt;span class="k"&gt;local!pickedState&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
        &lt;span class="ss"&gt;saveInto:&lt;/span&gt; &lt;span class="k"&gt;local!pickedState&lt;/span&gt;&lt;span class="ow"&gt;,&lt;/span&gt;
        &lt;span class="ss"&gt;showWhen:&lt;/span&gt; &lt;span class="k"&gt;local!showPicker&lt;/span&gt;
      &lt;span class="ow"&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span class="ow"&gt;&lt;br /&gt;So my search should happen only when user input has more than 3 characters.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!pickerFieldCustom</title><link>https://community.appian.com/thread/87943?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 03:55:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dbb01235-856e-4735-a647-9c1bdab315b0</guid><dc:creator>vinayp0002</dc:creator><description>&lt;p&gt;Hello Vamsy,&lt;/p&gt;
&lt;p&gt;Please add that condition in the suggest function stating that it should show search results when user enters more than 4 characters.&lt;/p&gt;
&lt;p&gt;if(&lt;br /&gt;len(ri!search)&amp;lt;=4,&lt;br /&gt; todatasubset({}), {-- your code})&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>