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:

Feature Request (1999) Re:E-mailer application times out (1998) no global [username] or [password] displayed ... (1997) [WriteFile] problems (1997) [cart] (1998) db merge problem (2002) Summing fields (1997) Help!!!! (1997) Almost a there but..bye bye NetCloak (1997) Multiple prices (1997) Using Eudora instead of Emailer, and cron facility (1998) Text data with spaces in them... (1997) WebCat for Site Search? (1997) Nesting format tags (1997) Emailer setup (1997) [WebDNA] Passing a text variable via copyfile (2019) WC Database Format (1997) TCPconnect using SSL. If not WebCat, How? (1999) RE: Still Learning (1997) Linebreak as a delimiter in listwords? (2003)