[text] doesn't change [formvariables]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22927
interpreted = N
texte = When I create a form variable on one page and post it to the next page, sometimes I want to change that value before appending it to the db. So I tried this technique:FirstPage.tpl:
NextPage.tpl: [text]variableName=newValue[/text] [append]fieldName=variableName[/append]But instead of appending newValue to the db, webcat appends originalValue.I thought that using a [text] context somewhere on the page was supposed to change the value of its variable everywhere else further on down the page, but that's not what's happening. Instead, it seems like the [text] context doesn't change and form variables posted from the previous page.Is this the way it's supposed to work?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: [text] doesn't change [formvariables] (PCS Technical Support 1999)
  2. [text] doesn't change [formvariables] (Kenneth Grome 1999)
When I create a form variable on one page and post it to the next page, sometimes I want to change that value before appending it to the db. So I tried this technique:FirstPage.tpl:
NextPage.tpl: [text]variableName=newValue[/text] [append]fieldName=variableName[/append]But instead of appending newValue to the db, webcat appends originalValue.I thought that using a [text] context somewhere on the page was supposed to change the value of its variable everywhere else further on down the page, but that's not what's happening. Instead, it seems like the [text] context doesn't change and form variables posted from the previous page.Is this the way it's supposed to work?Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

multiple credit card merchant accounts/processors (1997) flushdatabases (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Opinion: [input] should be called [output] ... (1997) problems with 2 tags (1997) international time (1997) WebCat2 several catalogs? (1997) Sizes and colors (1999) why is this line in GeneralStore? (1998) Variables for chat (1997) Popup Menu Options (1998) Field name-subcategory (1997) shipCost not working v2.1b4 (1997) Summary: Webmerchant quitting (1998) Sort Order on a page search (1997) [WebDNA] Need some PHP help (2009) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Ok here is a question? (1997) Re:Running 2 two WebCatalog.acgi's (1996) [WebDNA] Sending 100 mails an hour then pausing (2010)