Hey everyone,
I tried searching through the forums for this answer and found a couple threads that are sorta-kinda what I’m looking for but still doesn’t seem to be the exact solution.
I’m currently building an app for Realtors. When they are creating an account, they need to input their MLS ID (among other info) in order to confirm that they are, indeed, an active licensed Realtor. I want to be able to confirm that their ID that they have typed into the input is valid before they proceed to the next step.
Ideally, it compares/validates the input immediately, with some conditional feedback (the input border turns green if its valid or red if its not).
For context, I have the MLS API that can search for a specific agent by name, MLS ID, etc. So the API call is currently set up for returning the Realtor’s data based off of searching an ID#.
So I guess I just need to figure out how to takes the user’s input and use that to search for the agent via the API call, and the return a yes/no if the user was found, all in real time
What is the best way to go about setting this up? I’m not very experienced with backend workflows, so maybe thats the answer here?..
Thank you for your help!