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:

Ampersand Character (&) (1997) Looking For WebCatalog Migration Assistance (2003) repost: sending a down arrow (2000) Parsing args without ? (2003) Installing on IIS 5.1 Windows XP Pro - Username/Password (2006) Users.db [encrypt seed=????] (1998) Help with Repost Data msg from form (1997) Pricing based on quantity (2000) suffix mapping for NT? (1997) Dumb Question about Docs (1997) WebCatalog can't find database (1997) I've had it! (1999) [WebDNA] OT - some girls like guys for their WebDNA (2010) [WebDNA] Problem Retrieving data out of MySQL (2013) startat param not working (2008) 2 easy questions re: [showif] and [sendmail] (1997) Price characteristics? (1997) Search in 2 or more catalogs (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Signal Raised (1997)