Forum Moderators: open
count = document.getElementsByTagName('input').length; If the number of other INPUTs is fixed then you could simply deduct this figure, or you'll need to step through this array and manually count the number INPUT elements of type == 'text'.