Form builder unique code check

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Form builder unique code check

Post by DaRichMan »

I have a form where people can send a unique code found in a product they buy. They have to submit this code with this form, this code is a unique code (5 figures) which can be only send once.
Is there a way to check if the code already has been submitted?

(I hope my English is good enough to understand the question)

Thanx
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Form builder unique code check

Post by Jo Morg »

DaRichMan wrote:Is there a way to check if the code already has been submitted?
Yes, afaik the only way would be through the use of UDT's. But you would need, at the very least some solid knowledge of PHP, and of Form Builder, as it is not a basic task.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Form builder unique code check

Post by staartmees »

I would use ListIt2 - to store the already used codes - and ListIt2FEEdit to create the form and check is the code has already been used.
Post Reply

Return to “Modules/Add-Ons”