Is there a way in jquery to count all empty inputs and textareas in a form, for the following types
checkbox, date, datetime, email, month, number, radio, tel, text
because every form has a js variable maxInput. if maxInput is 6 (form has 6 inputs) then if you count the inputs and it is 6 i know that all is filled. Does anybody knows how to complete this.