validator icon indicating copy to clipboard operation
validator copied to clipboard

Disable Info & Warnings via URL Parameter

Open michaelspellacy opened this issue 3 years ago • 1 comments

Would it be possible to include a query parameter feature to disable Info and Warning messages on the parsing results page? For example, passing "info="no" or "warning="no" into the querystring would remove these messages, etc. While I do find such messages useful, they are not always something I want to share with my developer and QA teams to have and have them sift through in order to get right to the errors that need addressing.

If this feature exists already, please ignore, but please let me know what to pass to disable these messages. Thanks!

michaelspellacy avatar Jan 19 '23 01:01 michaelspellacy

See https://github.com/validator/validator/wiki/Service-%C2%BB-Common-params#level. There is such a query param — it’s &level=error. Until a few minutes ago, though — due to a bug in the code — it didn’t actually work. But I just now fixed it.

sideshowbarker avatar Nov 04 '25 13:11 sideshowbarker