<?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>paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/discussions/f/user-interface/38261/paragraphfield-in-an-interface-is-considering-enters-tabs-and-spaces-only-as-a-value</link><description>Hi All, 
 I have a paragraph field (* Required field) in an interface. When I input Enters or Spaces or Tabs only and no other characters it is consider as a value and not firing the validation error. For user it looks like empty values and validation</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/thread/144120?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 10:17:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a728fb2-b41f-41f4-85e3-9ccccb095391</guid><dc:creator>Sameer Ul Haq</dc:creator><description>&lt;p&gt;Thanks! it helped to resolve the issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/thread/144090?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 15:32:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8cce40f1-283d-41f2-a8e3-86142a48c931</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Than wrap it with &lt;strong&gt;Stripwith&amp;nbsp;&lt;/strong&gt; function to remove the Enter key&amp;nbsp; / Tab key character values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; if(a!isNullOrEmpty(fn!trim(stripwith(local!X,char(10)))),&amp;quot;Please enter value&amp;quot;,&amp;quot;&amp;quot;)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/thread/144086?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 13:55:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6280cdf0-099d-43b9-8592-a4f563fea5f2</guid><dc:creator>Sameer Ul Haq</dc:creator><description>&lt;p&gt;The input to the paragraph field is a enter key value. Since its not a visible text the field should through validation error.&lt;/p&gt;
&lt;p&gt;For your validation expression&lt;/p&gt;
&lt;p&gt;if(a!isNullOrEmpty(fn!trim(local!X)),&amp;quot;Please enter value&amp;quot;,&amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;if the value of local!X is a enter key value the validation is still not firing. I want the validation error if any keyboard keys input to this paragraphfield is not a visible text to the user ex: enter key or space key or tab key inputs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/thread/144078?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 08:47:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98677efc-a257-43ca-b320-02c2642c9669</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!X,
  {
  a!paragraphField(
    label: &amp;quot;Paragraph&amp;quot;,
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    value: local!X,
    saveInto: {local!X},
    refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
    height: &amp;quot;MEDIUM&amp;quot;,
    validations: {
      if(a!isNullOrEmpty(fn!trim(local!X)),&amp;quot;Please enter value&amp;quot;,&amp;quot;&amp;quot;)
    }
  )
})&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Your variable means where you ar5e storing the value of paragraph field . Can we see your code of the paragraph field&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/thread/144077?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 08:41:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:259d6638-5f6f-44be-bd72-51741c965681</guid><dc:creator>Sameer Ul Haq</dc:creator><description>&lt;p&gt;This is returning &amp;quot;&amp;quot; when i pass enter in place of Your Variable. Instead it should return &amp;quot;Please enter value&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: paragraphfield in an interface is considering enters, tabs and spaces only as a value</title><link>https://community.appian.com/thread/144074?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 07:45:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8611b6cb-e72b-4bb0-9ac5-408de7bf8a35</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Use trim function to remove extra spaces from value .&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(a!isNullOrEmpty(fn!trim(Your Variable)),&amp;quot;Please enter value&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>