kpcollier Posted October 21, 2021 Report Share Posted October 21, 2021 I have two List - String multi-select dropdowns on my submission form. One of them is always hidden depending on the selection of the Work Type field. If Work Type = New Work, then MultiSelect1 shows and the other is hidden. If Work Type = Repair, then MultiSelect2 shows, and the other one is hidden. I am trying to figure out how to clear the selected values on the MultiSelect that is hidden. Say, a user already started selecting values for MultiSelect1 and noticed they needed to change to MultiSelect2... I would like the values they selected in MultiSelect1 to reset when switching over to MultiSelect2 when the user switches the Work Type value. I know this is difficult because of the way List String fields work. This would be immensely easier and function a lot better if Caspio would just make dynamic List String datatypes, that could use lookup tables. Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
kpcollier Posted October 21, 2021 Author Report Share Posted October 21, 2021 document.querySelector("input[id^='ComboBoxInsertRecordJob_Type_CS_New']").value = '' this will clear the input box where you see the selected values comma delimited, but when you click on the dropdown, it still shows their respective checkboxes still checked. Quote Link to comment Share on other sites More sharing options...
GoodBoy Posted November 20, 2021 Report Share Posted November 20, 2021 Hello! This forum comment might help I think: Quote Link to comment Share on other sites More sharing options...
GoodBoy Posted November 26, 2021 Report Share Posted November 26, 2021 Hello! Here is another forum link if you would like to have a 'Select All' function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.