<?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>email id</title><link>https://community.appian.com/discussions/f/new-to-appian/22119/email-id</link><description>I have a form where a user needs to fill it. I have an email id field in it. So, now when a user enters the email I need to check whether the entered email id is already there in the records or not. If email id already presents it should throw an error</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: email id</title><link>https://community.appian.com/thread/86942?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 13:45:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1251dce2-7887-41ab-9c97-91d4e2674ce3</guid><dc:creator>gaddamv0001</dc:creator><description>&lt;p&gt;Its not working means like not working according to requirement . Its getting the total count of the email id .&lt;/p&gt;
&lt;p&gt;But Thank you, @Harsha Sharma for replying . I used another approach where for the email field, I gave a validation where it checks from the DB directly and tells whether the email exists or no .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: email id</title><link>https://community.appian.com/thread/86678?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 15:19:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0868cad7-6aca-44a4-863d-60e5758322f6</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;When you say &amp;quot;not working&amp;quot;, can you be more specific?&amp;nbsp; Are you getting a particular error?&amp;nbsp; What happens when you try?&amp;nbsp; Can you post the current version of your code and/or some screenshots?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: email id</title><link>https://community.appian.com/thread/86665?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 12:09:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9199a1e-db34-454d-82e7-4ee796201f07</guid><dc:creator>gaddamv0001</dc:creator><description>&lt;p&gt;Thank you for your reply .&lt;/p&gt;
&lt;p&gt;But this method is not working. Can you / anyone suggest any other method&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: email id</title><link>https://community.appian.com/thread/86637?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 10:10:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:30a99bd4-661e-4d5c-a9be-2061da1b9a0e</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can simply query your table, filtered based on the entered email Id. If any record is found (totalCount&amp;gt;0) then you can throw the validation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;E.G.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariable(
local!checkEmailID:a!refreshVariable(
value:a!queryentity(
entity:cons!EXAMPLE_YOUR_ENTITY,
query:a!query(
filter:a!queryfilter(
field:&amp;quot;emailId&amp;quot;,
operator:&amp;quot;=&amp;quot;,
value:local!emailIdInput),
pagingInfo:a!pagingInfo(1,1))),
refreshonVarChange:local!emailIdInput),
a!sectionlayout(
contents:{
a!textField(
label:&amp;quot;Email ID&amp;quot;,
value:local!emailIdInput,
saveInto:local!emailIdInput,
validation:if(
local!checkEmailID.totalCount&amp;gt;0,
&amp;quot;Validation Message&amp;quot;,
&amp;quot;&amp;quot;)
)
}
)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>