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:

%@#*& back button!!! (1999) Re1000002: Setting up shop (1997) [WebDNA] Triggers issue, or sendmail? (2012) Mixing and/or in searches (1998) WebCat2b12 - nesting [tags] (1997) WebCatalog for Mac 2.0.1 Released (1997) [isfolder] and [filename] (1997) RAM variables (1997) Fun with Dates - finally resolved but.... (1997) price carry over (1997) Emailer (WebCat2) (1997) Browser frames and URLs in the Location field (2004) Dropdown menus (2006) WebCatalog2 Feature Feedback (1996) We are searching (2005) Serving Images from SSL (was NT vs Mac) (1997) [OT] See QT? (Was Eaaaasy FTP...) (2003) RE: WebCatalog2 for NT Beta Request (1997) [LOOKUP] (1997) WebDNA vs PHP (2003)