[Need Help] How to make Multiselect Dropdown not be empty

Hi,

I’m trying to make it impossible for users to submit a book without all the fields filled in.

With every other input, I can select “this input should not be empty”, but there is no option for this in Multidropdown.

What is the best workaround to this?

Thanks!

Add a condition to the ‘Add New Book’ button, so that can only be clicked when the multi-dropdown’s value’s count is more than 0.

Alternatively, you can still allow the button to be clicked, but display some error message on the page if the multi-selected doesn’t have at least one item, by adding a similar condition to the button click workflow, and another workflow (with the opposite condition) to show the relevant error message.

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.