exclude hidden input fields as documented

The library does behave unexpected and not as documented because the hidden input fields are not excluded.