`min items` server side validation error

wappler 5.2.0
mac os monterey

config:


on client side min items was chosen as 1 on a group of checkbox.

on form submission, getting error one choosing only one item:

on choosing 2 or more items, this server side erorr goes away.
but expectation is that on choosing only 1 item server should accept becuase that is the config done.

please fix.

Can you please tell which server model (ASP/PHP/NodeJS) you are using?

Nodejs

I couldn’t detect anything wrong with the minitems validation in nodejs. How are the checkboxes named, make sure that the name ends with [] so that it is being seen as an array (multiple values).

1 Like

name did not end in []
will make this change and see how it goes.

this worked. thank you.