<?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>dateField</title><link>https://community.appian.com/discussions/f/general/35345/datefield</link><description>for the date field need to show in red colour when then date is less than today else no colour</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: dateField</title><link>https://community.appian.com/thread/137355?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 10:15:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca9964f3-973f-4c55-ba0c-92c1b273fa10</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;We can&amp;#39;t use&amp;nbsp; &lt;strong&gt;richtextitem&lt;/strong&gt; standalone ...You need to use it inside &lt;strong&gt;richtextdisplayfield()&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dateField</title><link>https://community.appian.com/thread/137354?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 10:13:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5fe69f6a-71ae-454e-87ce-64ba79c1a155</guid><dc:creator>KM</dc:creator><description>&lt;p&gt;in a editable grid i have a date column, for that in read only have to show in date in red colour if date is less than today&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i have tried using&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1719569551264v1.png" alt=" " /&gt;but getting error&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;component that is not supported in the grid layout. Received FormattedText&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dateField</title><link>https://community.appian.com/thread/137353?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 09:59:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad33f080-388f-402b-8b04-d8ea7902a6a6</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Need more details are you trying to capture the date or you just want to show already existing date.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s capturing and you using date field , we can&amp;#39;t change the colors but we can write validations (That&amp;#39;s how the component is). If it&amp;#39;s just showing the captured date we&amp;nbsp; got various options.....(Rich text field).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For Capturing We can do it in this way but i don&amp;#39;t recommend it for better UI/UX&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!date,
  {
    a!cardLayout(
      contents: {
        a!columnsLayout(
          columns: {
            a!columnLayout(
              contents: {
                a!cardLayout(
                  style: if(
                    a!isNullOrEmpty(local!date),
                    null,
                    if(local!date &amp;lt; today(), &amp;quot;ERROR&amp;quot;, null)
                  ),
                  showBorder: false,
                  contents: a!dateField(
                    label: &amp;quot;Date&amp;quot;,
                    labelPosition: &amp;quot;ABOVE&amp;quot;,
                    value: local!date,
                    saveInto: {local!date},
                    validations: {}
                  )
                )
              }
            ),
            a!columnLayout(contents: {})
          }
        )
      },
      height: &amp;quot;AUTO&amp;quot;,
      style: &amp;quot;TRANSPARENT&amp;quot;,
      marginBelow: &amp;quot;STANDARD&amp;quot;
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>