<?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>Masking  in SAIL</title><link>https://community.appian.com/discussions/f/process/11468/masking-in-sail</link><description>I need to put a mask on a text field in my interface. How is masking on text fields done in SAIL? For example I need to verify that an entry for a MAC address (70:5A:0F:44:3B:12) is correct. Thanks...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50503?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 05:20:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53fd41a4-ae36-4500-9e56-ac0537bf3a7b</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;If that is the case you can go with validation of the input as suggested by normanc . To use the regexmatch funtion&amp;nbsp;&amp;nbsp;you need to have this&amp;nbsp;&lt;a href="/b/appmarket/posts/regular-expression-functions" target="_blank"&gt;plugin &lt;/a&gt;deployed in your environment though.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50486?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 18:08:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3688f5d-eb96-41f5-bded-a8e371419425</guid><dc:creator>sswilliams</dc:creator><description>Thanks Mike.  You are right, I&amp;#39;m referring to &amp;#39;masking&amp;#39; - enforcing pattern matching.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50485?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 16:35:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b26c4419-1c48-403a-9fd4-23dd7559fc93</guid><dc:creator>Mike Schmitt</dc:creator><description>I suspect that there is some misunderstanding going on in this thread with respect to terminology, namely &amp;quot;masking&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
In Appian, if a field is &amp;quot;masked&amp;quot; that means its input is obscured like a password box.  &lt;br /&gt;
&lt;br /&gt;
However I think the question is actually using the term &amp;quot;masking&amp;quot; in reference to enforcing pattern matching - in which case &lt;a href="/members/normanc"&gt;normanc&lt;/a&gt; &amp;#39;s answer looks like the likely best fit.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50482?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 15:23:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf97fd3c-b32c-42a6-a4c6-685db412e96b</guid><dc:creator>Josh</dc:creator><description>&lt;a href="/members/vinayr"&gt;Vinay Kumar Rai&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
As &lt;a href="/members/harsha"&gt;Harsh&lt;/a&gt;  mentioned in his comment, masking text fields is possible on Appian 16.1 and above.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50479?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 13:57:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91d20655-b7db-4067-8647-1bcb72a5ab98</guid><dc:creator>Vinay Kumar Rai</dc:creator><description>Hi,&lt;br /&gt;
text masking is not possible in SAIL&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50475?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 13:34:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc1f302-e9f1-4641-af95-f1759176dc19</guid><dc:creator>normanc</dc:creator><description>&lt;p&gt;You can try validating&amp;nbsp;the input using the regexmatch function from &lt;a href="/b/appmarket/posts/regular-expression-functions"&gt;https://community.appian.com/b/appmarket/posts/regular-expression-functions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In your case this would be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!textField(
  value: ri!addr,
  saveInto: ri!addr,
  validations: {
    if(
      fn!regexmatch(&amp;quot;^([0-9A-F]{2}:){5}[0-9A-F]{2}$&amp;quot;, ri!addr),
      null,
      &amp;quot;Incorrect format&amp;quot;
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Masking  in SAIL</title><link>https://community.appian.com/thread/50470?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 12:30:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c7002294-8fa5-4a35-86f4-1e403919399c</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;What version of Appian you are on? If you are on Appian version 16.1 or above you can mask the text field with the parameter &amp;#39;Masked&amp;#39; to be set to true. For verifying the entry you can use parameter &amp;#39;validations&amp;#39; to check for correct value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>