Re: Writing multiple data into one field

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20795
interpreted = N
texte = 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 > > >---------------------------------------------------------------------------- >Torbj#246#rn Nilsson Tel: 0494-798 50 >ITRAB Fax: 0494-798 51 >InformationsTeknologi i Rimforsa AB Mobil: 0708-54 18 20 >Skolv#228#gen 2 Mail: torbjorn@itrab.com >590 41 Rimforsa Web: http://www.itrab.com > > Ordspr.boken 24:4 John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Writing multiple data into one field (Torbjörn Nilsson 1998)
  2. Re: Writing multiple data into one field (John Hill 1998)
  3. Writing multiple data into one field (Torbjörn Nilsson 1998)
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 > > >---------------------------------------------------------------------------- >Torbj#246#rn Nilsson Tel: 0494-798 50 >ITRAB Fax: 0494-798 51 >InformationsTeknologi i Rimforsa AB Mobil: 0708-54 18 20 >Skolv#228#gen 2 Mail: torbjorn@itrab.com >590 41 Rimforsa Web: http://www.itrab.com > > Ordspr.boken 24:4 John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com John Hill

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:

OT - Mail Solution (2002) Anyone have a one-to-one messageing system? (1999) Credit Card Number checking (1997) Logging purchases (1997) $append (1998) Security Issues and WebCommerce Solution (1997) [WriteFile] problems (1997) and vs or vs not (1998) WC2.0 Memory Requirements (1997) RE: E-mailer error codes (1997) Great product and great job ! (1997) RE: Problems with shopping cart (1997) Newbie Question about seeting price to 0 (1998) WebDNA-Talk Digests (1997) Still having install problems (2000) Is there a way to just get to the last record in the database? (1997) [math] variable question (1997) Bug In Admin Templates (2003) cookie length (1998) Part Html part WebDNA (1997)