[Javascript] Automatic Unique Form Numbering

Peter-Paul Koch gassinaumasis at hotmail.com
Tue Nov 26 05:26:41 CST 2002


>I have a form, but need to somehow generate an increasing UNIQUE number to 
>be sent along with the form data. This could be whenever the form is loaded 
>into the users browser or ideally when the user presses 'submit'. It would 
>even be better if that number could become the 'subject' of the resulting 
>email sent.
>Hope someone knows how to help (Code even better).

Use the time in milliseconds. It's extremely unlikely that two users will 
send in the form in exactly the same millisecond.

--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: Interview by Carole Guevin:
http://netdiver.net/interviews/peterpaulkoch.php
--------------------------------------------------


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the Javascript mailing list