<?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>In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/discussions/f/user-interface/530/in-text-field-we-need-to-restrict-field-input-using-masking-i-e-field-should</link><description>In text field we need to restrict field input using masking , i.e field should accept only number and &amp;quot;,&amp;quot; e.g 101,202 Please suggest ... OriginalPostID-60937 OriginalPostID-60937</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1681?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2013 12:37:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f6a7a07c-a72b-4a86-a30e-f726296cb3bd</guid><dc:creator>ajinkyab</dc:creator><description>^ symbol is use for checking start of the pattern e.g in my case string must start with number bet 0-9 so i have used ^[0-9]&lt;br /&gt;$ symbol used to check end of the pattern. e.g in my case it is 0 or more occurrence of comma followed by number so i have used (,[0-9])*$ .&lt;br /&gt;Link for reference :&lt;br /&gt;&lt;a href="http://www.regular-expressions.info/reference.html"&gt;www.regular-expressions.info/reference.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1680?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2013 12:23:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4127d3c2-8a55-4f38-b602-1faca66aaad4</guid><dc:creator>shivakanthr</dc:creator><description>@ajinkyab,can you clarify onething what is use of ^ and $&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1678?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2013 11:10:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42080c7c-1d4c-466d-957a-18eeafbd3fa9</guid><dc:creator>shivakanthr</dc:creator><description>@ajinkyab, its working&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1668?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2013 18:44:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e62ce27-15f7-4922-9bd8-d5391003876e</guid><dc:creator>larson.thune</dc:creator><description>As an alternative to masking or JS, you can chain into a script task and use logic in that script task to validate the user&amp;#39;s entry. From there chain into an XOR gateway. If the user&amp;#39;s input is valid, move on to the next form / task. If the user&amp;#39;s input is invalid, chain back to the original form with a validation message near the field, instructing the user that his entry failed validation.&lt;br /&gt;&lt;br /&gt;This approach allows you to take advantage of the full value of the platform (mobile), as Rikhi alluded to above.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1665?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2013 17:56:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79497146-4828-4856-82fd-c3a9dd1986b5</guid><dc:creator>ajinkyab</dc:creator><description>Length of the number is not fixed, so i have used following regex in validation javascript&lt;br /&gt;return (window.FormAPI.getValue(&amp;quot;myTextField&amp;quot;).id).match(/^[0-9]+(,[0-9]+)*$/)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1662?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2013 17:38:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48544b76-b0dc-4ff3-93f0-7656130f2e50</guid><dc:creator>shivakanthr</dc:creator><description>you can use &lt;br /&gt;000,000,000......&lt;br /&gt;here 0 takes 0-9&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1659?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2013 17:02:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fb89a509-994c-445f-8996-f7aa6e0e4cb0</guid><dc:creator>revat.anandsongkit</dc:creator><description>Have a look at &lt;a href="https://forum.appian.com/suite/wiki/70/Text_Field_Input"&gt;forum.appian.com/.../Text_Field_Input&lt;/a&gt; under &amp;quot;Field Masking Rules&amp;quot;.  Note that this is not available if your form is mobile enabled.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In  text field we need to restrict field input  using masking , i.e field should</title><link>https://community.appian.com/thread/1632?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2013 12:19:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61e4dab1-f4f3-4f00-b4d6-3ac9b80a671c</guid><dc:creator>shivakanthr</dc:creator><description>i think we can not use number in text field for masking. supposeif we enter mask as &amp;quot;111,&amp;quot;, in the form we have to provide 111,. other wise it returns invalid input.&lt;br /&gt;So its better to go scripting&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>