<?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>Hi guys,</title><link>https://community.appian.com/discussions/f/new-to-appian/22344/hi-guys</link><description>I am trying to do some validations using two fields scheduled date and assignee. 
 Sheduled date should be mandatory field if the user add any name in assignee field. 
 If there is no name in assignee field the system should allow to continue without</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi guys,</title><link>https://community.appian.com/thread/87466?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 15:19:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ef0ce09-096b-44f6-960c-00d1c24719a2</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Adding some sample code illustrating Stewart and Richard&amp;#39;s notes, which I agree with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!localVariables(
  local!date,
  local!assignee,

  a!formLayout(
    label: &amp;quot;Conditional Required Fields&amp;quot;,
    contents: {
      a!columnsLayout(
        columns: {
          a!columnLayout(),
          a!columnLayout(
            contents: {
              a!sideBySideLayout(
                items: {
                  a!sideBySideItem(
                    item: a!dateField(
                      label: &amp;quot;Date&amp;quot;,
                      value: local!date,
                      saveInto: local!date,
                      required: not(rule!APN_isEmpty(local!assignee))
                    )
                  ),
                  a!sideBySideItem(
                    item: a!pickerFieldUsers(
                      label: &amp;quot;Assignee&amp;quot;,
                      value: local!assignee,
                      saveInto: local!assignee
                    )
                  )
                }
              )
            }
          ),
          a!columnLayout()
        }
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: {
        a!buttonWidget(
          label: &amp;quot;Submit&amp;quot;,
          validate: true,
          submit: true
        )
      }
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi guys,</title><link>https://community.appian.com/thread/87446?ContentTypeID=1</link><pubDate>Sun, 31 Oct 2021 11:24:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fcdeb2e4-f6cd-4b97-ab17-82095410584c</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;additional info: that this &amp;quot;required&amp;quot; parameter of an UI component is working properly you need to have a buttonwidget with the parameter &amp;quot;submit : true&amp;quot; or at least if the button&amp;nbsp; parameter &amp;quot;submit&amp;quot; is false or not filled (default value is false) the paramater &amp;quot;validate&amp;quot; needs to be &amp;quot;true&amp;quot;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi guys,</title><link>https://community.appian.com/thread/87416?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 09:00:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ffa0ac89-a8fb-4c63-ac45-12ab4df33c5f</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Every User Interface input component has a &amp;quot;required&amp;quot; attribute. You can set this using a rule, and you can make the rule examine the value of the assignee field. Your rule can simply check if the assignee&amp;#39;s value is null:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1635498003300v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>