Re: [WebDNA] AUTONUMBER in Form

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115079
interpreted = N
texte = 2708 --Apple-Mail=_9DAC7223-41AF-42E4-BEF7-FE342B33E5C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 You should change your method to something like this: form.tpl 
   
=09 index.tpl [showif [key]=3Dsome_value] [append = db=3Dmy.db&autonumber=3Dseq]name=3D[url][name][/url][/append] [/showif] MD > On Mar 31, 2020, at 11:56 AM, talk@webdna.us wrote: >=20 > What version of WebCatalog are you using? The old command=3DAppend in = the post is no longer supported. >=20 >=20 > MD >=20 >> On Mar 31, 2020, at 4:07 AM, talk@webdna.us = wrote: >>=20 >>
>> >> >> >> >> >>
>>=20 >> On Tue, Mar 31, 2020 at 7:07 PM Jess Villamor = > wrote: >> how to implement AUTONUMBER in a FORM >>=20 >> this didn't work. >>=20 >>
>> <form method=3D"POST" action=3D"index.tpl">>> <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>>> 
>> --------------------------------------------------------- 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=3D55 = 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=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_9DAC7223-41AF-42E4-BEF7-FE342B33E5C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 You = should change your method to something like this:


form.tpl
<form method=3D=E2=80=9Cpost=E2=80= =9D action=3D=E2=80=9Cindex.tpl=E2=80=9D>
<input = value=3D=E2=80=9Ckey" name=3D=E2=80=9Csome_value=E2=80=9D>
= <input name=3D"name" value=3D=E2=80=9C">
<input = type=3D"submit=E2=80=9D>
</form>
=
index.tpl
[showif = [key]=3Dsome_value]
[append = db=3Dmy.db&autonumber=3Dseq]name=3D[url][name][/url][/append]
= [/showif]


MD


On Mar = 31, 2020, at 11:56 AM, talk@webdna.us wrote:

What version of = WebCatalog are you using?  The old command=3DAppend in the post is = no longer supported.


MD

On Mar 31, 2020, at 4:07 AM, talk@webdna.us wrote:

<form method=3D"POST" action=3D"index.tpl">
<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>

On Tue, Mar = 31, 2020 at 7:07 PM Jess Villamor <jess.villamor@gmail.com> wrote:
how to implement AUTONUMBER in a FORM

this didn't work.

<pre>
&lt;form method=3D"POST" action=3D"index.tpl"&gt;
&lt;input type=3D"hidden" name=3D"command" = value=3D"Append"&gt;
&lt;input type=3D"hidden" = name=3D"db" value=3D"Data.db"&gt;
&lt;input = value=3D"autonumber" name=3D"seq"&gt;
&lt;input = name=3D"name" value=3D""&gt;
&lt;input = type=3D"submit"&gt;
&lt;/form&gt;
</pre>
--------------------------------------------------------- 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=3D55 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=3D55 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=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_9DAC7223-41AF-42E4-BEF7-FE342B33E5C4-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] AUTONUMBER in Form (Michael Davis 2020)
  2. Re: [WebDNA] AUTONUMBER in Form (Michael Davis 2020)
  3. [WebDNA] AUTONUMBER in Form (Jess Villamor 2020)
2708 --Apple-Mail=_9DAC7223-41AF-42E4-BEF7-FE342B33E5C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 You should change your method to something like this: form.tpl 
   
=09 index.tpl [showif [key]=3Dsome_value] [append = db=3Dmy.db&autonumber=3Dseq]name=3D[url][name][/url][/append] [/showif] MD > On Mar 31, 2020, at 11:56 AM, talk@webdna.us wrote: >=20 > What version of WebCatalog are you using? The old command=3DAppend in = the post is no longer supported. >=20 >=20 > MD >=20 >> On Mar 31, 2020, at 4:07 AM, talk@webdna.us = wrote: >>=20 >>
>> >> >> >> >> >>
>>=20 >> On Tue, Mar 31, 2020 at 7:07 PM Jess Villamor = > wrote: >> how to implement AUTONUMBER in a FORM >>=20 >> this didn't work. >>=20 >>
>> <form method=3D"POST" action=3D"index.tpl">>> <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>>> 
>> --------------------------------------------------------- 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=3D55 = 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=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_9DAC7223-41AF-42E4-BEF7-FE342B33E5C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 You = should change your method to something like this:


form.tpl
<form method=3D=E2=80=9Cpost=E2=80= =9D action=3D=E2=80=9Cindex.tpl=E2=80=9D>
<input = value=3D=E2=80=9Ckey" name=3D=E2=80=9Csome_value=E2=80=9D>
= <input name=3D"name" value=3D=E2=80=9C">
<input = type=3D"submit=E2=80=9D>
</form>
=
index.tpl
[showif = [key]=3Dsome_value]
[append = db=3Dmy.db&autonumber=3Dseq]name=3D[url][name][/url][/append]
= [/showif]


MD


On Mar = 31, 2020, at 11:56 AM, talk@webdna.us wrote:

What version of = WebCatalog are you using?  The old command=3DAppend in the post is = no longer supported.


MD

On Mar 31, 2020, at 4:07 AM, talk@webdna.us wrote:

<form method=3D"POST" action=3D"index.tpl">
<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>

On Tue, Mar = 31, 2020 at 7:07 PM Jess Villamor <jess.villamor@gmail.com> wrote:
how to implement AUTONUMBER in a FORM

this didn't work.

<pre>
&lt;form method=3D"POST" action=3D"index.tpl"&gt;
&lt;input type=3D"hidden" name=3D"command" = value=3D"Append"&gt;
&lt;input type=3D"hidden" = name=3D"db" value=3D"Data.db"&gt;
&lt;input = value=3D"autonumber" name=3D"seq"&gt;
&lt;input = name=3D"name" value=3D""&gt;
&lt;input = type=3D"submit"&gt;
&lt;/form&gt;
</pre>
--------------------------------------------------------- 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=3D55 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=3D55 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=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_9DAC7223-41AF-42E4-BEF7-FE342B33E5C4-- . Michael Davis

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

Help! Odd, irreproducible happenings. (1998) possible, WebCat2.0 and checkboxes-restated (1997) SSL and reg web* (1997) For those of you not on the WebCatalog Beta... (1997) [shownext max (1997) Practice runs ? (1997) 2.0.1 new commands and contexts (1997) RE: Nesting [ListFiles] (1998) Convert from WebDNA to PHP/MySQL (2006) Setting variables. (1998) plus sign giving me problems in convertchars (2005) Unexpected error (1997) WebCat2final1 crashes (1997) need help with web address (2003) Cart Numbers (1997) Cart doesn't interpret tag! (1997) [WebDNA] v.7 and eCommerce (2012) [append] vs. [appendfile] delta + question? (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Error:Too many nested [xxx] contexts (1997)