Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Re: Automatic Unique Form Numbering


  • From: javascript@xxxxxxxxxx (Cutter (javascript list))
  • Subject: [Javascript] Re: Automatic Unique Form Numbering
  • Date: Tue, 26 Nov 2002 08:46:58 -0500

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@xxxxxxx 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@xxxxxxxxxxx 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@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript