if user input matches database entry....

Hey there!

I have a scenario: I need to allow the user to input their license number in an input box; if the license exists in the database then they are eligible for a discount.

  1. user inputs text into element
  2. send user input to database
  3. if user input === database data
  4. display text (or redirect to another page for next steps)

how can I allow user to input data then validate exact match in database?

I am looking for general guidance at the moment. Once I have a general idea of what to do then I may need to post follow up questions (or there may be docs on this already). I found this article: https://www.wix.com/corvid/forum/community-discussion/comparing-2-inputs-with-data-set

but I am not sure if it is exactly what I need to do.

Thank you in advance.

this is exactly what I was looking for…

https://www.wix.com/corvid/forum/community-discussion/check-2-input-fields-with-database-elements