Re: Writing multiple data into one field
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20800
interpreted = N
texte = Thanks, that did it. Since I do not want any page in between, I put the[Replace] inside a [ShowIf] on the resulting page. Whenever there's anupdate to be done I send along a variable that opens the [ShowIf].Great! ;-)-Toby>Unfortunately, WebCatalog sees the first field and thinks it is done. Even>if it saw the other fields, it wouldn't know whether to append or replace>the results. If you use an embedded [replace] context, then this is very>easy:>>kategori=[formvariables name=kategori][url][value][/url][/formvariables]&>>John.>>>I'm trying to put several values into a field (using checkboxes).>>Everything looks fine in the WebStar log:>>>>kategori=some_data&kategori=some_more_data&kategori=even_more_data>>>>but I only get the first value to be written to the database. I'm using the>>Replace command. The resulting page is a list of all records and I would>>prefer not to have any page in between with [FormVariables] if possible. Or>>am I wishing too much? ;-)>>>>TIA>>-Toby-----------------------------------------------------------------------------Torbjorn NilssonITRAB http://www.itrab.comInformation Technology in Rimforsa AB Ph. +46-(0)494-798 50Skolvagen 2S-590 41 RimforsaSWEDEN They told me I needed WinDOS 95 or better. So I bought a Mac.
Associated Messages, from the most recent to the oldest:
Thanks, that did it. Since I do not want any page in between, I put the
[replace] inside a
[showif] on the resulting page. Whenever there's anupdate to be done I send along a variable that opens the
[showif].Great! ;-)-Toby>Unfortunately, WebCatalog sees the first field and thinks it is done. Even>if it saw the other fields, it wouldn't know whether to append or replace>the results. If you use an embedded
[replace] context, then this is very>easy:>>kategori=[formvariables name=kategori]
[url][value][/url][/formvariables]&>>John.>>>I'm trying to put several values into a field (using checkboxes).>>Everything looks fine in the WebStar log:>>>>kategori=some_data&kategori=some_more_data&kategori=even_more_data>>>>but I only get the first value to be written to the database. I'm using the>>Replace command. The resulting page is a list of all records and I would>>prefer not to have any page in between with
[formvariables] if possible. Or>>am I wishing too much? ;-)>>>>TIA>>-Toby-----------------------------------------------------------------------------Torbjorn NilssonITRAB http://www.itrab.comInformation Technology in Rimforsa AB Ph. +46-(0)494-798 50Skolvagen 2S-590 41 RimforsaSWEDEN They told me I needed WinDOS 95 or better. So I bought a Mac.
Torbjörn Nilsson
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:
ListWords passing multi values in one form field (2000)
Further on formula.db failure to calculate shipCost (1997)
[cart]'s ever get recycled? (2000)
pull downs (1997)
Mac GUI editors (1997)
WCS Newbie question (1997)
Feature request: user-defined cart headers (1999)
random in arizona (2003)
[date] insanity! (2001)
UPDATE PROBLEM (1997)
my SOS last week... (1996)
4.5 on 10.4 (2006)
Performance Issue (2000)
Extracting URL (2007)
redirect with frames (1997)
Don't tick me off :) [elaspedtime] (1997)
[shell] (2003)
[append] vs. [appendfile] delta + question? (1997)
back button problem (1999)
Download URL & access on the fly ? (1997)