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 (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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>----- Original Message ----- </FONT>
<DIV><FONT face=3DArial size=3D2>From: "Cutter (javascript list)" =
&lt;</FONT><A=20
href=3D"mailto:javascript@xxxxxxxxxxxxxxxxxxxx";><FONT face=3DArial=20
size=3D2>javascript@xxxxxxxxxxxxxxxxxxxx</FONT></A><FONT face=3DArial=20
size=3D2>&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>To: &lt;</FONT><A=20
href=3D"mailto:javascript@xxxxxxxxxx";><FONT face=3DArial=20
size=3D2>javascript@xxxxxxxxxx</FONT></A><FONT face=3DArial =
size=3D2>&gt;</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>&gt; I would think that, in this case (using js), you're SOL. =
To do an=20
<BR>&gt; incremental number like you're asking for would require a =
server-side=20
<BR>&gt; variable so that the server keeps track of the "unique" number =
and=20
<BR>&gt; increments it. If you're processing your form through a SQL =
server then=20
<BR>&gt; using an autoincrement id field would handle this for you... =
<BR>&gt;=20
<BR>&gt; Cutter <BR>&gt; <BR>&gt; </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>&gt; <BR>&gt; &gt; 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>&gt; =
&gt; any=20
ideas!<BR>&gt; &gt; Jim <BR>&gt; &gt; <BR>&gt; &gt; 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>&gt; &gt; <BR>&gt; &gt;&gt; &gt;I have a form, but need to somehow =
generate=20
an increasing UNIQUE number to <BR>&gt; &gt;&gt; &gt;be sent along with =
the form=20
data. This could be whenever the form is loaded <BR>&gt; &gt;&gt; =
&gt;into the=20
users browser or ideally when the user presses 'submit'. It would =
<BR>&gt;=20
&gt;&gt; &gt;even be better if that number could become the 'subject' of =
the=20
resulting <BR>&gt; &gt;&gt; &gt;email sent.<BR>&gt; &gt;&gt; &gt;Hope =
someone=20
knows how to help (Code even better). <BR>&gt; &gt;&gt; <BR>&gt; =
&gt;&gt; Use=20
the time in milliseconds. It's extremely unlikely that <BR>&gt; &gt;&gt; =
two=20
users will <BR>&gt; &gt;&gt; send in the form in exactly the same=20
millisecond.<BR>&gt; &gt;=20
_______________________________________________<BR>&gt; &gt; Javascript =
mailing=20
list<BR>&gt; &gt; </FONT><A href=3D"mailto:Javascript@xxxxxxxxxx";><FONT =
face=3DArial=20
size=3D2>Javascript@xxxxxxxxxx</FONT></A><BR><FONT face=3DArial =
size=3D2>&gt; &gt;=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>&gt; &nbsp;<BR>&gt;=20
_______________________________________________<BR>&gt; Javascript =
mailing=20
list<BR>&gt; </FONT><A href=3D"mailto:Javascript@xxxxxxxxxx";><FONT =
face=3DArial=20
size=3D2>Javascript@xxxxxxxxxx</FONT></A><BR><FONT face=3DArial =
size=3D2>&gt;=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>&gt; </FONT></BODY></HTML>

------=_NextPart_000_0026_01C2952C.2C82E270--