Re: [checkboxes] and webcat

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29204
interpreted = N
texte = At 10:31 AM 3/17/00, Serban Constantinescu wrote: >They don't get put with a plus (see my previous message). They get >put as being separate variable/value pairs: > > >value 2 >value 3 >value 4 >value 5 > >IF everthing is checked, this is the URL I get in the browser > >/append.tpl?var1=value1&var2=value2&var2=value3&var2=value4&var2=value5 You're only going to get the first (or maybe it's the last) value for var2 passed to WebCat for processing.More likely what you need is this: english french german italianThen on your append you might do this: [text]language=[box1]|[box2]|[box3]|[box4][/text] [append......]...&language=[url][language][/url]...[/append]When you need to do something with the field, you need to do something like: [showif [language]^english] Mikey speaks English! [/showif]You can also use [listwords] with the pipe character as the delimiter to fish out the actual words or use [countwords] to count how many values are in there.HTH, ___Joe___> > > > > >How does webcat deal with checkboxes in forms and then retrieving data > > >out of the Database? > > > > > >With radio buttons and pull down menus its quite easy, there's one > > >item, that gets put in the db field, and that's all there is to it. > > > > > >I need to use a [computerskill] field, and be able to use either: > > > > > >checkboxes, or > > >text box (with multiple selections) > > > > > >then have something like: > > > > > >[ ] Java > > >[ ] C/C++ > > >[ ] HTML > > >[ ] asp > > > > > >and same for a [languageskill] field, and then list a whole list > >of languages. > > > > > >Does it work? When retrieving data out of the database, what does it > > >look like? > > > > > >Thanks, > > > > > >Serban > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >_________________________________________________ Joseph D'Andrea JoeDan@West21.com WEST21.com Internet services for the 21st Century http://www.west21.com/ _________________________________________________ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: [checkboxes] and webcat (Joseph D'Andrea 2000)
  2. Re: [checkboxes] and webcat (Serban Constantinescu 2000)
  3. Re: [checkboxes] and webcat (Charles Kline 2000)
  4. [checkboxes] and webcat (2) (Serban Constantinescu 2000)
  5. Re: [checkboxes] and WebCat (2) (Jesse Proudman 2000)
  6. [checkboxes] and webcat (Serban Constantinescu 2000)
At 10:31 AM 3/17/00, Serban Constantinescu wrote: >They don't get put with a plus (see my previous message). They get >put as being separate variable/value pairs: > > >value 2 >value 3 >value 4 >value 5 > >IF everthing is checked, this is the URL I get in the browser > >/append.tpl?var1=value1&var2=value2&var2=value3&var2=value4&var2=value5 You're only going to get the first (or maybe it's the last) value for var2 passed to WebCat for processing.More likely what you need is this: english french german italianThen on your append you might do this: [text]language=[box1]|[box2]|[box3]|[box4][/text] [append......]...&language=[url][language][/url]...[/append]When you need to do something with the field, you need to do something like: [showif [language]^english] Mikey speaks English! [/showif]You can also use [listwords] with the pipe character as the delimiter to fish out the actual words or use [countwords] to count how many values are in there.HTH, ___Joe___> > > > > >How does webcat deal with checkboxes in forms and then retrieving data > > >out of the Database? > > > > > >With radio buttons and pull down menus its quite easy, there's one > > >item, that gets put in the db field, and that's all there is to it. > > > > > >I need to use a [computerskill] field, and be able to use either: > > > > > >checkboxes, or > > >text box (with multiple selections) > > > > > >then have something like: > > > > > >[ ] Java > > >[ ] C/C++ > > >[ ] HTML > > >[ ] asp > > > > > >and same for a [languageskill] field, and then list a whole list > >of languages. > > > > > >Does it work? When retrieving data out of the database, what does it > > >look like? > > > > > >Thanks, > > > > > >Serban > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >_________________________________________________ Joseph D'Andrea JoeDan@West21.com WEST21.com Internet services for the 21st Century http://www.west21.com/ _________________________________________________ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Joseph D'Andrea

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:

Getting real time CC's out of Australia (1998) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Return records from another (1997) Shipping Calc - Help please (1998) WebCatb15 Mac CGI -- [purchase] (1997) Fwd: Web DNA... (2007) Robert Minor duplicate mail (1997) upgrade? (1997) Re2: frames & carts (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) View Source from cache (1997) There's a bug in the math context ... (1997) Spaces inside [AppendFile] (1998) Multiple catalog databases and showcart (1997) UPS online (2003) [WriteFile] problems (1997) WebCatalog for guestbook ? (1997) Date problems-more (1997) Public beta 4 of WebCatalog 4.0 is now available (2000) How to verify email address (1997)