<?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>Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/discussions/f/user-interface/37368/is-it-possible-to-validate-that-an-input-is-of-type-email</link><description>Is it possible to validate that an input is of type email, so that if the user enters something that is not an email, a warning can be showed?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/140318?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 11:13:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28a260a7-c650-43f7-b868-158ce272e4fd</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Another option that I don&amp;#39;t see being discussed much is using a real time email validation API if you require more in depth verification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/140228?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 13:22:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1cb1cee1-e41f-43e5-bd5b-65d37a31be20</guid><dc:creator>lumi29</dc:creator><description>&lt;p&gt;thanks &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;hearts;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139894?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 16:02:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a96baf7-68a3-4f0c-8e01-a864b7e50b32</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you mean you want to validate that a particular string is a valid email address, the People Funcitons plug-in currently has a function, validateemailaddress(), which validates email addresses as well as any Regex pattern or OOB appian expression can do (and i know because i&amp;#39;ve written both in the past from scratch).&lt;/p&gt;
&lt;p&gt;If you go with the RegEx approach as other commentors have suggested here, the best pattern I&amp;#39;ve found so far which accepts the largest range of valid email addresses, is as follows (this is the actual expression rule I currently use):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;regexmatch(
  pattern: &amp;quot;^[A-Z0-9\&amp;#39;\+\&amp;amp;\%_-]+(\.{0,1}[A-Z0-9\&amp;#39;\+\&amp;amp;\%_-]+)*[@]{1}[A-Z0-9.-]*[A-Z0-9-]+[.]{1}[A-Z]{2,6}$&amp;quot;,
  searchString: ri!email,
  regexFlags: &amp;quot;si&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note, the &amp;quot;validateEmailAddress()&amp;quot; function in People Functions currently passes the same extensive list of test cases as the above expression rule, and is a little easier to use routinely.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139890?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:45:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:56c7fe96-5dbd-45b5-b70e-b4d84f42c5a1</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Do you have access to admin console in your environment? If yes, then navigate to Plug-ins and add new plugin &amp;quot;&lt;span&gt;Appian Regular Expression Functions&lt;/span&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139888?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:44:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:868a9fc7-dd1d-481a-8b6e-5ea6ad5f830a</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;&lt;a href="/b/appmarket/posts/regular-expression-functions"&gt;https://community.appian.com/b/appmarket/posts/regular-expression-functions&lt;/a&gt;&amp;nbsp;, Use this plugin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139887?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:27:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2a03db5-cc46-4446-8071-14eefb9e4fb3</guid><dc:creator>lumi29</dc:creator><description>&lt;p&gt;&lt;span&gt;The function &amp;#39;regexmatch&amp;#39; is unavailable. :(&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139881?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:38:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6fe70d1a-2755-4e67-b73b-be343fc18151</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
                  regexmatch(
                    pattern: &amp;quot;\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b&amp;quot;,
                    searchString:ri!your_Variable,
                    regexFlags: &amp;quot;si&amp;quot;
                  ),
                  &amp;quot;&amp;quot;,
                  &amp;quot;Please Enter Valid Email&amp;quot;
                )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;On &lt;strong&gt;validations&lt;/strong&gt; , regex code gonna check whether entered email is in right format or not. Search online for better Regex codes which suites you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139880?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:38:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbe3b8d3-1050-4824-9c54-c44fbf80db48</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;&lt;a href="/members/luciam"&gt;lumi29&lt;/a&gt;&amp;nbsp; Replace the value in the &amp;quot;^[a-z0-9]+(\.[a-z0-9]+)*@[a-z0-9]+(\.[a-z0-9]+)*(\.[a-z]{2,5})$&amp;quot; with a constant.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  a!isNullOrEmpty(ri!input),
  null,
  if(
    regexmatch(
      &amp;quot;^[a-z0-9]+(\.[a-z0-9]+)*@[a-z0-9]+(\.[a-z0-9]+)*(\.[a-z]{2,5})$&amp;quot;,
      ri!input
    ),
    &amp;quot;&amp;quot;,
    &amp;quot;Please enter a valid email address&amp;quot;
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139877?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:31:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e62a944a-01fd-4935-8d00-3686e4cd2804</guid><dc:creator>lumi29</dc:creator><description>&lt;p&gt;and how do u use a regex code in an input?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to validate that an input is of type email?</title><link>https://community.appian.com/thread/139876?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:29:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf6e6081-c1a1-43aa-87b5-9025a00aa27f</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;&amp;nbsp;Usually for validating email we use Regex code , it is going to check the format of the entered email text . Not sure what you are looking for , can you give more details of your usecase?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>