Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Generating A Conscutive Unique ID

    I need a script that will generate a unique ID consecutive to the previous one when a user submits a form. For example, I submit the form and the confirmation page shows:

    JGH100354101

    I will need the next user that submits the form to have the confirmation page show:

    JGH100354102

    and so on and so on...

    Is anyone aware of a simple form script that would accomplish this?

  • #2
    Senior Coder
    Join Date
    Feb 2006
    Location
    USA
    Posts
    1,013
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Seems simple enough, but why do you want to use client-side JavaScript to do this? This is something that should be done with a server-side language.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
    Java != JavaScript && JScript != JavaScript
    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •