List Manager Forum

Field type OptionList and required

User Franky466 2025-06-15 14:01:18

Hi team,
I've found a new problem when I want to set a field to "required." It doesn't work with OptionList. I have a multiple option list and I've configured it as required, and if you don't select anything, "This field is required" should appear. But it doesn't.
The same problem with the simple option list. I have three options (<blank>, Option1, Option2). If I select <blank> for New or Edit, "This field is required" doesn't appear either.
To explain why I have <blank>: For bulk updates with multiple columns, you need <blank> so that this field is ignored during the bulk update.

And now another idea. Can the edit window, i.e., when you select a record and click Edit, also be displayed as a popup like with Details?

Regards
Franky466

Moonsoft support 2025-06-16 11:23:33

Hi,
yes, for an html field, in fact there is always a value 'selected', even if its the first one and user still hasn't changed the field. We have introduced a condition to set that the field has 'no input' if the option selected has an empty value. There are different use cases where the first option has values like 0, -1...etc, but those ones can be handled using the 'custom validation' section. For your case, with empty values, you can just update and check if the default 'required' check works as expected.

For the edition window, there is no option to show it inside a popup, sorry, and that would require many changes into the layout, so it can't be overwritten using code at the js section in an easy way. We'll add the idea to our suggestions list, so it could be added in future versions.

Thank you very much for the feecback, best regards
Guillermo V.
Moonsoft Team

User Franky466 2025-06-16 12:36:09

Hi team,
Thank you for the quick response and the solution. It works.

Best regards

Moonsoft support 2025-06-17 10:13:35

Ok, we close the ticket with this solution, thank you!
Best regards
Guillermo V.
Moonsoft Team

...
List Manager

Build different lists for your site

Buy now!
...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!