make validate_form only look up validate_cache once