Better way to clear select lists?

Using a bunch of select lists as controls in my sections, to build out input forms, so use can select values from the list, and then click the button, and a new row is added that contains the values in the select controls.

After they click the button, I can’t find any way to “clear” some of those select lists, so the input form is reset. Any ideas? Any way to allow a button to have a secondary action so I can do this with an expression?

Second related question…the only way for a user to clear a select list is by selecting “blank” which is all the way at the bottom of the list. Very unintuitive for long lists, to have to scroll all the way down.
Can the “blank” option be added at the top, or better yet, add an “x” icon to the select list drop down, which when clicked by the user, will clear the select list?



@Joel_Szwarga @mallika

I thought this also, and just double-checked myself for accuracy. I found that:

  1. In a multi-select CONTROL, the list can be toggled between “All selected” and “None selected” by selecting/de-selecting “Select All.” This was never clear to me, so I haven’t been using it, but I will now :+1:.

a) The list option could be tweaked from “Select All” to read “Select All/None”. This would make the all/none toggling functionality more obvious.

  1. In a multi-select COLUMN, neither “Select All” nor “Blank” are available as options. To “Select None” I have been using the Delete key on the cell.

b) The “Select All/None” option could also be included in multi-select column list options.

  1. The “Blank” option.

c) +1 on moving “Blank” to the top of the list.

d) In general, anytime application default options (“Create New”, “Select All”, “Blank”, etc) exist in dropdown lists, it would optimize UX to place them at the top of the list where the user is certain to see them. (It took me forever to figure out that “Create New” even existed because my dropdown lists were so long, and it never occurred to me to scroll to the very end of the list in order to add a new object. :stuck_out_tongue_winking_eye:)

Hope this is useful!! :smiley:

1 Like

You can do it by using a table as Input Form, then use multiple buttons or automation to submit and clear.

Try clicking “Submit” below!


Your example of using a table as Input form is not the same functionality as what the original poster was asking. I’ve tried to replicate based on your logic, and the issue that comes up is that I can’t find a way to hack a Button so that it can change the selection of a “Single Select Control” dropdown. I am trying to do the same thing, where I have 6 single select controls that pull their data from their respective tables. All of the selected data gets written to a table once a button is clicked, but in order to make a new entry, all of the select dropdowns have to be changed to their new value. I would like to be able to create a “Blank All Entries/New Entry” button that selects the “Blank” entry on all 6 single select dropdowns at once.

I think in order to do this coda will have to code the ability for a button to do a new task, namely change the state of a single select control.

Any feedback on other ways to possible hack this would be appreciated.

You could create a button “Clear” (Or maybe an “add and clear” with RunActions()) and put all the values of your select lists field to "".
You could possibly couple it with an automation too.

+1 to put ‘Blank’ on the top of the list. If you have hundreds of options its

  1. bad ux for the user to have to scroll
  2. unintuitive that blank is there.

Also allowing Delete or Backspace to clear it would be good too.