decode form input, pep8