How to enforce unique value among submitted entries?

By: Mike Harding | Asked: 07/17/2024
ForumsCategory: How-toHow to enforce unique value among submitted entries?
Mike Harding asked 4 months ago
I have a form where there is a user preference for a display name. I would like to be able to check prior entries and enforce a unique value for this particular field and not allow a submission if the name is a duplicate. I've been poking around a little and see that something like frm_validate_field might be the right approach, but I'm at a bit of a loss about how to implement such a solution. (I know it would need to go in functions.php - I'm generally php capable, it's the interface into FF that's a bit confusing.) Any pointers would be appreciated.
1 Answers
Best Answer
Rob LeVineRob LeVine answered 4 months ago
Will the unique field option suffice?
Mike Harding replied 4 months ago

That's too easy, I will try it. D'oh! Yes, it works like a champ. Thanks. I guess I was over thinking it.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right