Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Re: Automatic Unique Form Numbering
- From: javascript@xxxxxxxxxx (Terry)
- Subject: [Javascript] Re: Automatic Unique Form Numbering
- Date: Tue, 26 Nov 2002 09:14:07 -0500
This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C2952C.2C82E270 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 -----=20 From: "Cutter (javascript list)" <javascript@xxxxxxxxxxxxxxxxxxxx> To: <javascript@xxxxxxxxxx> 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=20 > incremental number like you're asking for would require a server-side=20 > variable so that the server keeps track of the "unique" number and=20 > increments it. If you're processing your form through a SQL server = then=20 > using an autoincrement id field would handle this for you...=20 >=20 > Cutter=20 >=20 > Jamesjackson73@xxxxxxx writes:=20 >=20 > > 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=20 > >=20 > > In a message dated 11/26/2002 6:26:41 AM Eastern Standard Time, = gassinaumasis@xxxxxxxxxxx writes:=20 > >=20 > >> >I have a form, but need to somehow generate an increasing UNIQUE = number to=20 > >> >be sent along with the form data. This could be whenever the form = is loaded=20 > >> >into the users browser or ideally when the user presses 'submit'. = It would=20 > >> >even be better if that number could become the 'subject' of the = resulting=20 > >> >email sent. > >> >Hope someone knows how to help (Code even better).=20 > >>=20 > >> Use the time in milliseconds. It's extremely unlikely that=20 > >> two users will=20 > >> send in the form in exactly the same millisecond. > > _______________________________________________ > > Javascript mailing list > > Javascript@xxxxxxxxxx > > https://lists.LaTech.edu/mailman/listinfo/javascript > =20 > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript >=20 ------=_NextPart_000_0026_01C2952C.2C82E270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY> <DIV><FONT face=3DArial size=3D2>Tell us what are you doing, what = language you are=20 using, is this db driven, etc....</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>~ Terry<BR>757 581-5981<BR>AIM/Yahoo:=20 lv2bounce</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>----- Original Message ----- </FONT> <DIV><FONT face=3DArial size=3D2>From: "Cutter (javascript list)" = <</FONT><A=20 href=3D"mailto:javascript@xxxxxxxxxxxxxxxxxxxx"><FONT face=3DArial=20 size=3D2>javascript@xxxxxxxxxxxxxxxxxxxx</FONT></A><FONT face=3DArial=20 size=3D2>></FONT></DIV> <DIV><FONT face=3DArial size=3D2>To: <</FONT><A=20 href=3D"mailto:javascript@xxxxxxxxxx"><FONT face=3DArial=20 size=3D2>javascript@xxxxxxxxxx</FONT></A><FONT face=3DArial = size=3D2>></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Sent: Tuesday, November 26, 2002 8:46=20 AM</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Subject: [Javascript] Re: Automatic = Unique Form=20 Numbering</FONT></DIV></DIV> <DIV><FONT face=3DArial><BR><FONT size=3D2></FONT></FONT></DIV><FONT = face=3DArial=20 size=3D2>> I would think that, in this case (using js), you're SOL. = To do an=20 <BR>> incremental number like you're asking for would require a = server-side=20 <BR>> variable so that the server keeps track of the "unique" number = and=20 <BR>> increments it. If you're processing your form through a SQL = server then=20 <BR>> using an autoincrement id field would handle this for you... = <BR>>=20 <BR>> Cutter <BR>> <BR>> </FONT><A=20 href=3D"mailto:Jamesjackson73@xxxxxxx"><FONT face=3DArial=20 size=3D2>Jamesjackson73@xxxxxxx</FONT></A><FONT face=3DArial size=3D2> = writes:=20 <BR>> <BR>> > I've thought of that, but I not only want a = Unique number=20 generated I want an Incremental number 1 - 2 - 3 etc in order.<BR>> = > any=20 ideas!<BR>> > Jim <BR>> > <BR>> > In a message dated=20 11/26/2002 6:26:41 AM Eastern Standard Time, </FONT><A=20 href=3D"mailto:gassinaumasis@xxxxxxxxxxx"><FONT face=3DArial=20 size=3D2>gassinaumasis@xxxxxxxxxxx</FONT></A><FONT face=3DArial = size=3D2> writes:=20 <BR>> > <BR>> >> >I have a form, but need to somehow = generate=20 an increasing UNIQUE number to <BR>> >> >be sent along with = the form=20 data. This could be whenever the form is loaded <BR>> >> = >into the=20 users browser or ideally when the user presses 'submit'. It would = <BR>>=20 >> >even be better if that number could become the 'subject' of = the=20 resulting <BR>> >> >email sent.<BR>> >> >Hope = someone=20 knows how to help (Code even better). <BR>> >> <BR>> = >> Use=20 the time in milliseconds. It's extremely unlikely that <BR>> >> = two=20 users will <BR>> >> send in the form in exactly the same=20 millisecond.<BR>> >=20 _______________________________________________<BR>> > Javascript = mailing=20 list<BR>> > </FONT><A href=3D"mailto:Javascript@xxxxxxxxxx"><FONT = face=3DArial=20 size=3D2>Javascript@xxxxxxxxxx</FONT></A><BR><FONT face=3DArial = size=3D2>> >=20 </FONT><A = href=3D"https://lists.LaTech.edu/mailman/listinfo/javascript"><FONT=20 face=3DArial=20 size=3D2>https://lists.LaTech.edu/mailman/listinfo/javascript</FONT></A><= BR><FONT=20 face=3DArial size=3D2>> <BR>>=20 _______________________________________________<BR>> Javascript = mailing=20 list<BR>> </FONT><A href=3D"mailto:Javascript@xxxxxxxxxx"><FONT = face=3DArial=20 size=3D2>Javascript@xxxxxxxxxx</FONT></A><BR><FONT face=3DArial = size=3D2>>=20 </FONT><A = href=3D"https://lists.LaTech.edu/mailman/listinfo/javascript"><FONT=20 face=3DArial=20 size=3D2>https://lists.LaTech.edu/mailman/listinfo/javascript</FONT></A><= BR><FONT=20 face=3DArial size=3D2>> </FONT></BODY></HTML> ------=_NextPart_000_0026_01C2952C.2C82E270--
- References:
- [Javascript] Automatic Unique Form Numbering
- From: javascript@xxxxxxxxxx
- [Javascript] Re: Automatic Unique Form Numbering
- From: Cutter (javascript list)
- [Javascript] Automatic Unique Form Numbering
- Prev by Date: [Javascript] Re: ftp question
- Next by Date: [Javascript] Re: ftp question
- Previous by thread: [Javascript] Re: Automatic Unique Form Numbering
- Next by thread: [Javascript] Automatic Unique Form Numbering
- Index(es):