Skip to content

Alter the value in custom validation function? #957

Answered by deankarn
ItalyPaleAle asked this question in Q&A
Discussion options

You must be logged in to vote

No this is jot possible using validator for multiple reasons, please see/search for the multiple closed issues asking the same :)

For sanitization, prior to validation, this library exists https://github.com/go-playground/mold

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ItalyPaleAle
Comment options

Answer selected by ItalyPaleAle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants