>> <form method="POST" action="index.tpl">>> <input type="hidden" name="command" value="Append">>> <input type="hidden" name="db" value="Data.db">>> <input value="autonumber" name="seq">>> <input name="name" value="">>> <input type="submit">>> </form>>>>>> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us archives:> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us archives:> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us archives:> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us--0000000000004b76ee05a22feb46Content-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppo=rt@webdna.usFor the middle one:
=C2=A0
You can use the 'AUTONUMBER=3D' parameter wi=th the [append] or [replace] context to instruct WebDNA to automatically ge=nerate the 'next highest number' value for the given fieldname. Thi=s is useful for 'ID' type fields, where unique values are required.=C2=A0
=C2=A0
Example:
[append db=3DmyDB.db&AUTONUMBER=3DmyAutonumberFi=eld]NAME=3DScott&EMAIL=3Dscott@here com[/append]
=C2=A0
=C2=A0
From: =b>talk@webdna.us
Sent: 31 March 2020 20:03
To: talk@webdna.=us
Subject: RE: [WebDNA] Re: AUTONUMBER in Form=C2=A0
Use a JavaScript fuction on the form, or use Autonum=bering via WebDNA when writing to db, or use [cart].
=C2=A0
Scott
=C2=A0
From: =b>talk@webdna.us
Sent: 31 March 2020 12:09
To: talk@webdna.=us
Subject: [WebDNA] Re: AUTONUMBER in Form=C2=A0
--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mai=l to: talk-leave@=webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Repo=rting: support@webdna.us=a><form method=3D"POST" action=3D"index.tp=l">
<input type=3D"hidden" name=3D"command" value=3D&quo=t;Append">
<input type=3D"hidden" name=3D"db" value=3D"Dat=a.db">
<input value=3D"autonumber" name=3D"seq">
<input name=3D"name" value=3D"">
<input type=3D"submit">
</form>--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mai=l to: talk-leave@=webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Repo=rting: support@webdna.us=a>On Tue, Mar 31, 2020 at 7:07 PM Jess =Villamor <j=ess.villamor@gmail.com> wrote:how to implement AUTONUMBER in a FORMthis didn't work.<pre>
<form method=3D"POST" action=3D"index.tpl"&g=t;
<input type=3D"hidden" name=3D"command" value=3D="Append">
<input type=3D"hidden" name=3D"db" value=3D"=;Data.db">
<input value=3D"autonumber" name=3D"seq">=
<input name=3D"name" value=3D"">
<input type=3D"submit">
</form>
</pre>
|
>> <form method="POST" action="index.tpl">>> <input type="hidden" name="command" value="Append">>> <input type="hidden" name="db" value="Data.db">>> <input value="autonumber" name="seq">>> <input name="name" value="">>> <input type="submit">>> </form>>>>>> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us archives:> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us archives:> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us archives:> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us--0000000000004b76ee05a22feb46Content-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppo=rt@webdna.usFor the middle one:
=C2=A0
You can use the 'AUTONUMBER=3D' parameter wi=th the [append] or [replace] context to instruct WebDNA to automatically ge=nerate the 'next highest number' value for the given fieldname. Thi=s is useful for 'ID' type fields, where unique values are required.=C2=A0
=C2=A0
Example:
[append db=3DmyDB.db&AUTONUMBER=3DmyAutonumberFi=eld]NAME=3DScott&EMAIL=3Dscott@here com[/append]
=C2=A0
=C2=A0
From: =b>talk@webdna.us
Sent: 31 March 2020 20:03
To: talk@webdna.=us
Subject: RE: [WebDNA] Re: AUTONUMBER in Form=C2=A0
Use a JavaScript fuction on the form, or use Autonum=bering via WebDNA when writing to db, or use [cart].
=C2=A0
Scott
=C2=A0
From: =b>talk@webdna.us
Sent: 31 March 2020 12:09
To: talk@webdna.=us
Subject: [WebDNA] Re: AUTONUMBER in Form=C2=A0
--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mai=l to: talk-leave@=webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Repo=rting: support@webdna.us=a><form method=3D"POST" action=3D"index.tp=l">
<input type=3D"hidden" name=3D"command" value=3D&quo=t;Append">
<input type=3D"hidden" name=3D"db" value=3D"Dat=a.db">
<input value=3D"autonumber" name=3D"seq">
<input name=3D"name" value=3D"">
<input type=3D"submit">
</form>--------------------------------------------------------- This message is s=ent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mai=l to: talk-leave@=webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Repo=rting: support@webdna.us=a>On Tue, Mar 31, 2020 at 7:07 PM Jess =Villamor <j=ess.villamor@gmail.com> wrote:how to implement AUTONUMBER in a FORMthis didn't work.<pre>
<form method=3D"POST" action=3D"index.tpl"&g=t;
<input type=3D"hidden" name=3D"command" value=3D="Append">
<input type=3D"hidden" name=3D"db" value=3D"=;Data.db">
<input value=3D"autonumber" name=3D"seq">=
<input name=3D"name" value=3D"">
<input type=3D"submit">
</form>
</pre>
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...