form validation via DB query

(Rafael Marques) #1

I am trying to validate a react form, but to do this, i need to check the database, to see if the user input matches with any
of my DB entries. I would like to validate this form, only if there is a match.

I tried to search form validation, but the only thing i found was like validating null input and those kind of stuff,
and did not find anything about validating via Database.

Any suggestions?
Thank you!