0

I was wondering if it was possible to check in an array if one of the input that compose this array is without a value, without checking them one by one.

for example if you have a form with multiple input and you forgot to fill one of the input it will tell you if you click on the 'send' button that one input is empty.

2
  • 1
    Welcome to Stack Overflow. Please provide a minimal reproducible example.
    – Twisty
    Commented Nov 16, 2023 at 15:00
  • If your are using jQuery, you can loop on input with each() and check if they are empty or not
    – SKJ
    Commented Nov 19, 2023 at 0:30

0

Browse other questions tagged or ask your own question.