[Javascript] Re: Automatic Unique Form Numbering

Terry bader at tcbader.com
Tue Nov 26 08:14:07 CST 2002


Tell us what are you doing, what language you are using, is this db driven, etc....

~ Terry
757 581-5981
AIM/Yahoo: lv2bounce

----- Original Message ----- 
From: "Cutter (javascript list)" <javascript at theblades-family.com>
To: <javascript at LaTech.edu>
Sent: Tuesday, November 26, 2002 8:46 AM
Subject: [Javascript] Re: Automatic Unique Form Numbering


> 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
>  
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021126/86a19e19/attachment.htm>


More information about the Javascript mailing list