I’m building a social network with a feed of posts. I’m collecting URLs on my form, and want to check two things.
Ensure the URL matches the Website, ie if my user is submitting a post about Etsy, the URL should reflect https://www.etsy.com/abcd
Ensure the URL doesn’t already exist in the database.
Of course I could just queue all submissions for approval, but hoping there might be a workaround within my form?