Hello and welcome to our community! Is this your first visit?
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
    Thanked 0 Times in 0 Posts

    Question Numeric Form Posting

    I need a java script form that will post a consecutive number to the form confirmation page.

    For example, if I submit the form, I will the confirmation page to read:


    The next user that submits the form I would need the number to read:


    and so on....18, 19, 20, 21, 22, 23, 24, etc.

    This code would be used to generate unique ID's for a membership card.

  • #2
    Regular Coder
    Join Date
    Oct 2003
    Thanked 1 Time in 1 Post
    you will need some sort of server-parsed scripting to either communicate with a database or a text file that stores what the last # was generated so it can increase the number by 1. javascript cannot know what another's browser has loaded for a number, so it would output the same exact number as someone else, no doubt.


    Posting Permissions

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