Background: ----------------------------- I have a lead generation form that is essentially a robust contact form, that sends out emails to agents based on how a user answers questions. ----------------------------- Whats needs to be acomplished: ----------------------------- I have been able to everything so far that's needed, except one thing.
Every lead that is generated needs to have a sequential unique identifier.. I need this number to start at say 20,000 and work it's way up.
For example, the first user (A) submits a form, it will be assigned a unique number, in this case (20,000) since it's the first person to submit.
User (B) submits a form, it will be assigned the unique number 20,001
User (C) submits a form, it will be assigned the unique number 20,002
and so on and so on the unique numbers will be assigned. ------------------------------ In Conclusion: ------------------------------ I will need this unique sequential number to be in the email that goes out to agents. I am sure what I stated above needs to be accomplished using a hidden field and SQL.. I just can't for the life of me get this working. I have gone through hundreds of forums posts and the most I have been able to find is a unique GUID number, but this is not what I want or need.
If it helps at all, I have indoogrid as well in case a unique table needs to be created
Anyone who can help me with this or point me in the right direction will be an absolute life saver!
John Moura
|