disable validation in elements with display none