<?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>RE: Validation</title><link>https://community.appian.com/discussions/f/user-interface/34736/re-validation</link><description>Hi Everyone, I am looking for a solution related to when valueType= &amp;quot;Ratio:1&amp;quot;, then the upto 3 decimals on left side:1 ,need to restrict values which are entered more than 4 decimals in left only, How Can I do that,Can anyone help to do that?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133940?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 07:27:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77b09c73-f130-423f-9b54-31fa7fbbeb2b</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Try this code and let me know that works for you.&lt;br /&gt;Analyse the code for future understanding.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  ri!valueType_txt =cons!CR_APP_FIN_COV_VALUE_TYPES[1],
  if(
    and(
      like(ri!inputValue_txt, &amp;quot;*:*&amp;quot;),
      isnull(
        stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
      ),
      not(
        isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
      ),
      left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
      right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
    ),
    &amp;quot;&amp;quot;,
    cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[1]
  ),
  if(
    ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[2],
    if(
      and(
        like(ri!inputValue_txt, &amp;quot;*:1&amp;quot;), 
        isnull(stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)), 
        not(isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))), 
        left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,  
        right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
        len(
          index(
            split(
              left(
                ri!inputValue_txt,
                find(&amp;quot;:&amp;quot;, ri!inputValue_txt) - 1
              ),
              &amp;quot;.&amp;quot;
            ),
            2,
            {}
          )
        ) &amp;lt;= 3
      ),
      &amp;quot;&amp;quot;,  
      &amp;quot;Value is not in the format of m:1.&amp;quot;
    ),
    if(
      ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[3],
      if(
        len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) = 0,
        if(
          len(ri!inputValue_txt) &amp;lt; 15,
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[3]
        ),
        cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
      ),
      if(
        ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[4],
        if(
          and(
            len(
              stripwith(ri!inputValue_txt, &amp;quot;0123456789.%&amp;quot;)
            ) = 0,
            len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
        ),
        &amp;quot;&amp;quot;
      )
    )
  )
)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133937?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 05:39:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2b67e41-6104-4ad2-847f-ebbbb3ab15ae</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Hi, Shubham, it worked,Thanks for that Can I get one more suggestion? For the value type=&amp;nbsp;cons!CR_APP_FIN_COV_VALUE_TYPES[3] or Amount field in the above code, Type of that column has to take input has integer value, Now the field is accepting decimal values. How can we make changes to the existing code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133918?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 09:37:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a11b294e-029a-43c7-bb21-31c45051d682</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Check code as I changed based on above understanding.&lt;br /&gt;Let me know if that works for you.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  ri!valueType_txt =cons!CR_APP_FIN_COV_VALUE_TYPES[1],
  if(
    and(
      like(ri!inputValue_txt, &amp;quot;*:*&amp;quot;),
      isnull(
        stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
      ),
      not(
        isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
      ),
      left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
      right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
    ),
    &amp;quot;&amp;quot;,
    cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[1]
  ),
  if(
    ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[2],
    if(
      and(
        like(ri!inputValue_txt, &amp;quot;*:1&amp;quot;), 
        isnull(stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)), 
        not(isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))), 
        left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,  
        right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
        len(
            index(
              split(
                left(
                  ri!inputValue_txt,
                  find(&amp;quot;:&amp;quot;, ri!inputValue_txt) - 1
                ),
                &amp;quot;.&amp;quot;
              ),
              2,
              {}
            )
          ) &amp;lt;= 3
      ),
      &amp;quot;&amp;quot;,  
      &amp;quot;Value is not in the format of m:1.&amp;quot;
    ),
    if(
      ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[3],
      if(
        and(
          len(
            stripwith(ri!inputValue_txt, &amp;quot;0123456789.&amp;quot;)
          ) = 0,
          len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
        ),
        if(
          and(
            len(
              cleanwith(ri!inputValue_txt, &amp;quot;0123456789&amp;quot;)
            ) &amp;lt; 15
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[3]
        ),
        cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
      ),
      if(
        ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[4],
        if(
          and(
            len(
              stripwith(ri!inputValue_txt, &amp;quot;0123456789.%&amp;quot;)
            ) = 0,
            len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
        ),
        &amp;quot;&amp;quot;
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133917?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 09:35:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e35b5d78-d152-41d9-84cf-3a7d43f419af</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp;&lt;br /&gt;You mean&lt;br /&gt;cons!CR_APP_FIN_COV_VALUE_TYPES[2] holds &amp;quot;Ratio:1&amp;quot;&lt;br /&gt;cons!CR_APP_FIN_COV_VALUE_TYPES[1] holds &amp;quot;Ratio&amp;quot;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133916?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 08:53:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7139825d-98ea-4af4-bfbd-0eca782dba7b</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;I am calculating for value type=Ratio:1 , Please provide calculation for ratio:1 type. I have sent code above.Valuetype is&amp;nbsp;cons!CR_APP_FIN_COV_VALUE_TYPES[2] not cons!CR_APP_FIN_COV_VALUE_TYPES[3].&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133914?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 07:46:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd3714bf-8755-4051-8866-83d03d85c820</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Try this and let me know if that works for you&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  ri!valueType_txt = &amp;quot;Ratio&amp;quot;,
  if(
    and(
      like(ri!inputValue_txt, &amp;quot;*:*&amp;quot;),
      isnull(
        stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
      ),
      not(
        isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
      ),
      left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
      right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
    ),
    &amp;quot;&amp;quot;,
    cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[1]
  ),
  if(
    ri!valueType_txt = &amp;quot;Ratio:1&amp;quot;,
    if(
      and(
        like(ri!inputValue_txt, &amp;quot;*:1&amp;quot;),
        isnull(
          stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
        ),
        not(
          isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
        ),
        left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
        right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
      ),
      &amp;quot;&amp;quot;,
      &amp;quot;Value is not in the format of m:1.&amp;quot;
    ),
    if(
      ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[3],
      if(
        and(
          like(ri!inputValue_txt, &amp;quot;*:1&amp;quot;),
          len(
            index(
              split(
                left(
                  ri!inputValue_txt,
                  find(&amp;quot;:&amp;quot;, ri!inputValue_txt) - 1
                ),
                &amp;quot;.&amp;quot;
              ),
              2,
              {}
            )
          ) &amp;lt;= 3,
        ),
        if(
          and(
            len(
              cleanwith(ri!inputValue_txt, &amp;quot;0123456789&amp;quot;)
            ) &amp;lt; 15
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[3]
        ),
        cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
      ),
      if(
        ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[4],
        if(
          and(
            len(
              stripwith(ri!inputValue_txt, &amp;quot;0123456789.%&amp;quot;)
            ) = 0,
            len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
        ),
        &amp;quot;&amp;quot;
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133913?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 07:31:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09169911-0a0f-4c6e-9ddf-978e3d853ef7</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;yeah exactly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133912?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 07:29:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1120ad6e-f6bb-47a1-845f-b15f75db9c3e</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp; Oh you mean you want validation for more than 3?&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;5.6678:1 :- Validation Should Show&lt;br /&gt;&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;5.667:1&amp;nbsp; &amp;nbsp;:- Validation Shouldn&amp;#39;t show&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Is that what you are expecting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133911?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 07:27:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:612983fa-1f22-45de-b157-91f6c144e1b5</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;yes Now In the UI ,I have entered Upto 3 decimals but validation is throwing.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133910?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 07:24:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1e7a24a-b53c-494e-813e-1c946d045233</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span&gt;As you mentioned earlier&lt;br /&gt;&lt;strong&gt;user can enter value as 5.6678435:1 format ,but instead of entering more that 3 decimals ,we need to restrict up to 3 decimals only.&lt;/strong&gt;&lt;br /&gt;That what code is doing. It&amp;#39;s restricting user using validation.&lt;br /&gt;&lt;br /&gt;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp;Am i missing something?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133909?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2024 07:16:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09a6bcb0-e611-4c7a-b00c-ffd20f5bec02</guid><dc:creator>sid</dc:creator><description>&lt;p style="padding-left:30px;"&gt;Hi ,I have tried with this code for the&amp;nbsp; value Type=Ratio:1 type, Coz I needed&amp;nbsp; validation for that value type(Ratio:1), I am getting this validation in ui&lt;pre class="ui-code" data-mode="text"&gt;if(
  ri!valueType_txt =&amp;quot;Ratio&amp;quot;,
  if(
    and(
      like(ri!inputValue_txt, &amp;quot;*:*&amp;quot;),
      isnull(
        stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
      ),
      not(
        isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
      ),
      left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
      right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
    ),
    &amp;quot;&amp;quot;,
    &amp;quot;Value is not in the format of m:n.&amp;quot;
  ),
  if(
    ri!valueType_txt = &amp;quot;Ratio:1&amp;quot;,
    if(
      and(
        like(ri!inputValue_txt, &amp;quot;*:1&amp;quot;),
        isnull(
          stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
        ),
        not(
          isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
        ),
        left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
        right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
        len(
          stripwith(ri!inputValue_txt, &amp;quot;0123456789.&amp;quot;)
        ) = 0,
        len(
          index(
            split(
              left(
                ri!inputValue_txt,
                find(&amp;quot;:&amp;quot;, ri!inputValue_txt) - 1
              ),
              &amp;quot;.&amp;quot;
            ),
            2,
            {}
          )
        ) &amp;lt;= 3,
        
      ),
      &amp;quot;&amp;quot;,
      &amp;quot;Value is not in the format of m:1.&amp;quot;
    ),
    if(
      ri!valueType_txt = &amp;quot;Amount&amp;quot;,
      if(
        and(
          len(
            stripwith(ri!inputValue_txt, &amp;quot;0123456789.&amp;quot;)
          ) = 0,
          len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
        ),
        if(
          and(
            len(
              cleanwith(ri!inputValue_txt, &amp;quot;0123456789&amp;quot;)
            ) &amp;lt; 15
          ),
          &amp;quot;&amp;quot;,
          &amp;quot;Value cannot be more than 14 digit numbers.&amp;quot;
        ),
        &amp;quot;Invalid value entered.&amp;quot;
      ),
      if(
        ri!valueType_txt = &amp;quot;Percentage&amp;quot;,
        if(
          and(
            len(
              stripwith(ri!inputValue_txt, &amp;quot;0123456789.%&amp;quot;)
            ) = 0,
            len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
          ),
          &amp;quot;&amp;quot;,
          &amp;quot;Invalid value entered.&amp;quot;
        ),
        &amp;quot;&amp;quot;
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1713683776685v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133905?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 15:24:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17427724-404a-44bc-a9b6-b5c211632abc</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp;&lt;br /&gt;I made changes to your provided code to meet your requirement. Validate once and let me know if that works for you.&lt;br /&gt;&lt;span&gt;This ensures only values with a maximum of 3 decimals on the left side are allowed.&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  ri!valueType_txt = &amp;quot;Ratio&amp;quot;,
  if(
    and(
      like(ri!inputValue_txt, &amp;quot;*:*&amp;quot;),
      isnull(
        stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
      ),
      not(
        isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
      ),
      left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
      right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
    ),
    &amp;quot;&amp;quot;,
    cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[1]
  ),
  if(
    ri!valueType_txt = &amp;quot;Ratio:1&amp;quot;,
    if(
      and(
        like(ri!inputValue_txt, &amp;quot;*:1&amp;quot;),
        isnull(
          stripwith(ri!inputValue_txt, &amp;quot;1234567890:.&amp;quot;)
        ),
        not(
          isnull(stripwith(ri!inputValue_txt, &amp;quot;:.&amp;quot;))
        ),
        left(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;,
        right(ri!inputValue_txt) &amp;lt;&amp;gt; &amp;quot;:&amp;quot;
      ),
      &amp;quot;&amp;quot;,
      &amp;quot;Value is not in the format of m:1.&amp;quot;
    ),
    if(
      ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[3],
      if(
        and(
          len(
            stripwith(ri!inputValue_txt, &amp;quot;0123456789.&amp;quot;)
          ) = 0,
          len(
            index(
              split(
                left(
                  ri!inputValue_txt,
                  find(&amp;quot;:&amp;quot;, ri!inputValue_txt) - 1
                ),
                &amp;quot;.&amp;quot;
              ),
              2,
              {}
            )
          ) &amp;lt;= 3,
        ),
        if(
          and(
            len(
              cleanwith(ri!inputValue_txt, &amp;quot;0123456789&amp;quot;)
            ) &amp;lt; 15
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[3]
        ),
        cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
      ),
      if(
        ri!valueType_txt = cons!CR_APP_FIN_COV_VALUE_TYPES[4],
        if(
          and(
            len(
              stripwith(ri!inputValue_txt, &amp;quot;0123456789.%&amp;quot;)
            ) = 0,
            len(cleanwith(ri!inputValue_txt, &amp;quot;.&amp;quot;)) &amp;lt; 2
          ),
          &amp;quot;&amp;quot;,
          cons!CR_APP_COV_THRESHOLD_VALIDATION_MSG[4]
        ),
        &amp;quot;&amp;quot;
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133904?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 15:19:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29f69724-c377-428b-aa19-1ea6865bcc40</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Hm ... didi you consider to use two fields for this? That would make the validation much easier and the user would not have to enter the colon.&lt;/p&gt;
&lt;p&gt;Then, why not just round the entered value to three decimals?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133903?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 15:05:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18dd21ca-406c-4960-b0c7-a56a0dfe957b</guid><dc:creator>Shubham Aware</dc:creator><description>[quote userid="75078" url="~/discussions/f/user-interface/34736/re-validation/133901"] 5.6678435.1 format[/quote]
&lt;p&gt;You mean 5.6678435&lt;strong&gt;:&lt;/strong&gt;1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133902?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 14:11:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce87b9c5-3faa-4109-8623-43bad3fdfc60</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;not after ratio,before ratio,ok let me give example to u, value = 2.655:1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133901?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 14:01:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85718035-d806-4bfc-a514-1368d9bdf967</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;ok, So we have value type in ui has ratio:1 type that means user can enter value has 5.6678435.1 format ,but instead of entering more that 3 decimals ,we need to restrict up to 3 decimals only. I hope now this sentence understandable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133900?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 13:15:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53f971e7-47d2-4e29-ae5c-1ceec547794e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I have a hard time understanding your explanation. Can you help me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Validation</title><link>https://community.appian.com/thread/133899?ContentTypeID=1</link><pubDate>Sat, 20 Apr 2024 13:08:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b9c158a-2851-406a-9f51-6ce92b21ff72</guid><dc:creator>karthikkanjerla</dc:creator><description>&lt;p&gt;Hi JS,&lt;/p&gt;
&lt;p&gt;Over all as far i understand , after the ratio in the provided text by user, you should allow only three characters after ratio, if its more than three you should show an message right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;see if the below logic works&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(

local!splitValues:split(&amp;quot;ABC:12323&amp;quot;,&amp;quot;:&amp;quot;),



if(len(index(local!splitValues,2,&amp;quot;&amp;quot;))&amp;gt;3,&amp;quot;Greater than three&amp;quot;,&amp;quot;Good&amp;quot;)

)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if this is not what you are expecting, can you help with user input and what validation you are trying to perform.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>