<?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>Regarding drop-down and date fields</title><link>https://community.appian.com/discussions/f/user-interface/22071/regarding-drop-down-and-date-fields</link><description>Hi All, 
 I have a Interface in which I have created approx 10 filters . What I am facing a problem is that I am having a drop-down say &amp;quot;Select filter&amp;quot; field in which I have 10 names , what I am achieving is that based on selection from &amp;quot;select filter</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86468?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 10:38:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc5f4802-dffa-4838-96e2-0904b08ce156</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;First Reason i see for this unclean look, you are mixing column layouts and sidebyside layouts. they are not aligned on the same way.&amp;nbsp;&lt;br /&gt;second: your labels are too long to have a clean online label. -&amp;gt; use bigger columns or shorter labels -&amp;gt; you can use the &amp;quot;&amp;quot; parameter of the a!columlayout() function to maintain it properly&lt;/p&gt;
&lt;p&gt;third you are creating a new sidebyside layout every iteration.&lt;br /&gt;-&amp;gt; so every a!foreachitem you will create two new datefields which are a bit lower because of the sidebysidelyout&lt;br /&gt;-&amp;gt; try to create new two a!columlayouts instead of new sidebysidelayouts&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86467?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 10:38:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f6a63867-4750-4586-bad0-37bd3fe28393</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;First Reason i see for this unclean look, you are mixing column layouts and sidebyside layouts. they are not aligned on the same way.&lt;br /&gt;second: your labels are too long to have a clean online label. -&amp;gt; use bigger columns or shorter labels&lt;br /&gt;third:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86459?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 07:26:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e19d27bf-1807-4664-8197-9a3c74d327d3</guid><dc:creator>saurabh sharma</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!columnsLayout(
                    columns: {
                      a!columnLayout(
                        contents: {
                          a!textField(
                            label: &amp;quot;Keyword&amp;quot;,
                            helpTooltip: &amp;quot;Search for a Keyword within the Decom Site(s) / Decom Band(s) / Dismantling Other Reason(s) &amp;quot;,
                            placeholder: &amp;quot;Enter part of Decom Site(s) / Decom Band(s) / Dismantling Other Reason(s)&amp;quot;,
                            value: local!currentKeyword,
                            saveInto: {
                              local!currentKeyword,
                              a!save(
                                local!settings,
                                rule!FSM_setFilterSettingValue(
                                  settings: local!settings,
                                  name: &amp;quot;keyword&amp;quot;,
                                  value: save!value
                                )
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!multipleDropdownField(
                            label: &amp;quot;Is Full Decom&amp;quot;,
                            labelPosition: &amp;quot;ABOVE&amp;quot;,
                            placeholder: &amp;quot;- Select Is Full Decom -&amp;quot;,
                            choiceLabels: a!forEach(
                              items: local!isFullDecomDropdown,
                              expression: if(fv!item = true, &amp;quot;YES&amp;quot;, &amp;quot;NO&amp;quot;)
                            ),
                            choiceValues: local!isFullDecomDropdown,
                            value: local!currentIsFullDecom,
                            saveInto: {
                              local!currentIsFullDecom,
                              a!save(
                                local!settings,
                                rule!FSM_setFilterSettingValue(
                                  settings: local!settings,
                                  name: &amp;quot;isfulldecom&amp;quot;,
                                  value: save!value,
                                  isArray: true()
                                )
                              )
                            },
                            searchDisplay: &amp;quot;ON&amp;quot;,
                            validations: {}
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!multipleDropdownField(
                            label: &amp;quot;Lease At Location&amp;quot;,
                            labelPosition: &amp;quot;ABOVE&amp;quot;,
                            placeholder: &amp;quot;- Select Lease At Location -&amp;quot;,
                            choiceLabels: a!forEach(
                              items: local!leaseAtLocationDrop,
                              expression: if(fv!item = true, &amp;quot;YES&amp;quot;, &amp;quot;NO&amp;quot;)
                            ),
                            choiceValues: local!leaseAtLocationDrop,
                            value: local!currentLeaseAtLocation,
                            saveInto: {
                              local!currentLeaseAtLocation,
                              a!save(
                                local!settings,
                                rule!FSM_setFilterSettingValue(
                                  settings: local!settings,
                                  name: &amp;quot;leaseatlocation&amp;quot;,
                                  value: save!value,
                                  isArray: true()
                                )
                              )
                            },
                            searchDisplay: &amp;quot;ON&amp;quot;,
                            validations: {}
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!multipleDropdownField(
                            label: &amp;quot;Site Move Required&amp;quot;,
                            labelPosition: &amp;quot;ABOVE&amp;quot;,
                            placeholder: &amp;quot;- Select Site Move Required -&amp;quot;,
                            choiceLabels: a!forEach(
                              items: local!siteMoveRequiredDrop,
                              expression: if(fv!item = true, &amp;quot;YES&amp;quot;, &amp;quot;NO&amp;quot;)
                            ),
                            choiceValues: local!siteMoveRequiredDrop,
                            value: local!currentSiteMoveRequired,
                            saveInto: {
                              local!currentSiteMoveRequired,
                              a!save(
                                local!settings,
                                rule!FSM_setFilterSettingValue(
                                  settings: local!settings,
                                  name: &amp;quot;sitemoverequired&amp;quot;,
                                  value: save!value,
                                  isArray: true()
                                )
                              )
                            },
                            searchDisplay: &amp;quot;ON&amp;quot;,
                            validations: {}
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!multipleDropdownField(
                            label: &amp;quot;Created By&amp;quot;,
                            labelPosition: &amp;quot;ABOVE&amp;quot;,
                            placeholder: &amp;quot;- Select Created By -&amp;quot;,
                            choiceLabels: a!forEach(
                              items: local!createdByDropdown,
                              expression: rule!APN_displayUser(fv!item)
                            ),
                            choiceValues: local!createdByDropdown,
                            value: local!currentCreatedBy,
                            saveInto: {
                              local!currentCreatedBy,
                              a!save(
                                local!settings,
                                rule!FSM_setFilterSettingValue(
                                  settings: local!settings,
                                  name: &amp;quot;createdby&amp;quot;,
                                  value: save!value,
                                  isArray: true()
                                )
                              )
                            },
                            searchDisplay: &amp;quot;ON&amp;quot;,
                            validations: {}
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!multipleDropdownField(
                            label: &amp;quot;Decom Status&amp;quot;,
                            labelPosition: &amp;quot;ABOVE&amp;quot;,
                            placeholder: &amp;quot;- Select Decom Status -&amp;quot;,
                            choiceLabels: a!forEach(
                              items: local!decomStatusDropdown,
                              expression: if(
                                fv!item,
                                if(
                                  fv!item = cons!TWM_DECOM_STATUS[1],
                                  &amp;quot;Approved&amp;quot;,
                                  &amp;quot;Rejected&amp;quot;
                                ),
                                &amp;quot;In Progress&amp;quot;
                              )
                            ),
                            choiceValues: local!decomStatusDropdown,
                            value: local!currentDecomStatus,
                            saveInto: {
                              local!currentDecomStatus,
                              a!save(
                                local!settings,
                                rule!FSM_setFilterSettingValue(
                                  settings: local!settings,
                                  name: &amp;quot;decomstatus&amp;quot;,
                                  value: save!value,
                                  isArray: true()
                                )
                              )
                            },
                            searchDisplay: &amp;quot;ON&amp;quot;,
                            validations: {}
                          )
                        }
                      )
                    }
                  ),&lt;/pre&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!columnsLayout(
                    columns: {
                      a!forEach(
                        items: enumerate(local!columnsPerRow) + 1,
                        expression: a!localVariables(
                          local!columnIndex: fv!index,
                          a!columnLayout(
                            a!forEach(
                              items: enumerate(cons!TWM_GRID),
                              expression: a!localVariables(
                                local!choose: rule!APN_replaceNull(
              wherecontains(
                tostring(
                  index(local!selectedGridColumns, fv!index, {})
                ),
                cons!TWM_GRIDCOLUMNS
              ),
              {}
            ),
                                if(
                                  or(
                                    rule!APN_isBlank(local!choose),
                                    rule!APN_isBlank(
                                      index(local!selectedGridCol, fv!index, {})
                                    )
                                  ),
                                  {},
                                  choose(
                                    local!choose,
                                    a!multipleDropdownField(
                                      label: &amp;quot;Requested By&amp;quot;,
                                      labelPosition: &amp;quot;ABOVE&amp;quot;,
                                      placeholder: &amp;quot;- Select Requested By -&amp;quot;,
                                      choiceLabels: a!forEach(
                                        items: local!requestedByDrop,
                                        expression: fv!item
                                      ),
                                      choiceValues: local!requestedByDrop,
                                      value: local!currentRequestedBy,
                                      saveInto: {
                                        local!currentRequestedBy,
                                        a!save(
                                          local!settings,
                                          rule!FSM_setFilterSettingValue(
                                            settings: local!settings,
                                            name: &amp;quot;requestedby&amp;quot;,
                                            value: save!value,
                                            isArray: true()
                                          )
                                        )
                                      },
                                      searchDisplay: &amp;quot;ON&amp;quot;,
                                      showWhen: and(
                                        contains(
                                          touniformstring(local!selectedGridColumns),
                                          &amp;quot;Requested By&amp;quot;
                                        ),
                                        (
                                          or(
                                            mod(fv!index, local!columnsPerRow) = local!columnIndex,
                                            and(
                                              mod(fv!index, local!columnsPerRow) = 0,
                                              local!columnIndex = local!columnsPerRow
                                            )
                                          )
                                        )
                                      )
                                    ),
                                    {
                                      a!sideBySideLayout(
                                        items: {
                                          a!sideBySideItem(
                                            item: a!dateField(
                                              label: &amp;quot;Created Date(From)&amp;quot;,


                                              value: local!currentcreateddatefrom,
                                              saveInto: {
                                                local!currentcreateddatefrom,
                                                a!save(
                                                  local!settings,
                                                  rule!FSM_setFilterSettingValue(
                                                    settings: local!settings,
                                                    name: &amp;quot;createddatefrom&amp;quot;,
                                                    value: save!value,
                                                    isArray: false
                                                  )
                                                )
                                              },
                                              showWhen: and(
                                                contains(
                                                  touniformstring(local!selectedGridColumns),
                                                  &amp;quot;Created Date&amp;quot;
                                                ),
                                                (
                                                  or(
                                                    mod(fv!index, local!columnsPerRow) = local!columnIndex,
                                                    and(
                                                      mod(fv!index, local!columnsPerRow) = 0,
                                                      local!columnIndex = local!columnsPerRow
                                                    )
                                                  )
                                                )
                                              ),
                                              validations: {}
                                            )
                                          ),
                                          a!sideBySideItem(
                                            item: a!dateField(
                                              label: &amp;quot;Created Date (To)&amp;quot;,

                                              value: local!currentcreateddateto,
                                              saveInto: {
                                                local!currentcreateddateto,
                                                a!save(
                                                  local!settings,
                                                  rule!FSM_setFilterSettingValue(
                                                    settings: local!settings,
                                                    name: &amp;quot;createddateto&amp;quot;,
                                                    value: save!value,
                                                    isArray: false
                                                  )
                                                )
                                              },
                                              showWhen: and(
                                                contains(
                                                  touniformstring(local!selectedGridColumns),
                                                  &amp;quot;Created Date&amp;quot;
                                                ),
                                                (
                                                  or(
                                                    mod(fv!index, local!columnsPerRow) = local!columnIndex,
                                                    and(
                                                      mod(fv!index, local!columnsPerRow) = 0,
                                                      local!columnIndex = local!columnsPerRow
                                                    )
                                                  )
                                                )
                                              ),
                                              validations: {}
                                            )
                                          )
                                        }
                                      )
                                    },&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;first one is first column which is by default ..&amp;nbsp;&lt;/p&gt;
&lt;p&gt;second code is in for each loop based on selection of the user&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86458?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 07:07:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc1e3bcc-04ee-45c2-9a52-a09152266733</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;I understand? can you share your code snippet? I get the feeling something is not super clean.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86457?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 07:02:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98a8edfe-53f0-4424-bff6-83ae1a78b97b</guid><dc:creator>saurabh sharma</dc:creator><description>&lt;p&gt;I have done this only but its depend on the choice of the user he can choose any 5 filter at a time&lt;/p&gt;
&lt;p&gt;i.e he might can choose 2 dropdown and 3 dates filter or all dates this is the main reason .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When the user is choosing all 5 dropdown filters its works perfectly fy9 but not in other case&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86447?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 03:40:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f8fb47e-c198-486c-9657-d981c32e99b1</guid><dc:creator>srinandhavin5120</dc:creator><description>&lt;p&gt;For a more intuitive look you can create column layouts.&lt;/p&gt;
&lt;p&gt;Look 1: All date fields in one column&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1632973044379v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Look 2:&amp;nbsp;A set of date fields (From and To) can be clubbed together using another columns layout and stacked under a column with dropdowns&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1632973307411v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86445?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 02:19:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ed18460-9d18-4828-9c4b-98a9899774c5</guid><dc:creator>saurabh sharma</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/4670.Capture.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See this First row is by default but from second row its in for each based on selection upto 5 fields in a row . In this when I am selecting only dropdown the UI looks better but when i choose dropdown and date field the UI in not looking good.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;case2- when chooisng only drop down&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/7384.Capture1.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding drop-down and date fields</title><link>https://community.appian.com/thread/86436?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 20:04:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9695076f-e8b5-40ef-b953-9b2946e7ff4c</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;Its pretty hard to read and follow. Do you have screenshots to explain what exactly you try to have in line and &amp;quot;Looking good&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>