input = formFilter.querySelectorAll('input') for (i = 0; i < 10; i++){ if( input[i].checked ) { console.log( input[i].value ) } }