[Javascript] Re: Automatic Unique Form Numbering
Cutter (javascript list)
javascript at theblades-family.com
Tue Nov 26 07:46:58 CST 2002
I would think that, in this case (using js), you're SOL. To do an
incremental number like you're asking for would require a server-side
variable so that the server keeps track of the "unique" number and
increments it. If you're processing your form through a SQL server then
using an autoincrement id field would handle this for you...
Cutter
Jamesjackson73 at aol.com writes:
> I've thought of that, but I not only want a Unique number generated I want an Incremental number 1 - 2 - 3 etc in order.
> any ideas!
> Jim
>
> In a message dated 11/26/2002 6:26:41 AM Eastern Standard Time, gassinaumasis at hotmail.com writes:
>
>> >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.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list