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:

Date/Time format problems (1997) using showpage and showcart commands (1996) IOD | WAS:[Show items based on login Password] (2003) RE: Clearing orders and database help! (1997) Where is f2? (1997) Dates (1996) ANother SHOWIF problem (1997) Avery 5160 Mailing Labels SOLVED (2003) New Plug-in and Type 11 errors (1997) Pithy questions on webcommerce & siteedit (1997) How true is this? (1999) WebCat NT v. Mac (1997) Denying access by IP address (2000) [WebDNA] Linux Support (2013) WC2.0 Memory Requirements (1997) Re:Variable Math (1998) Add to a field (1998) Database (2002) credit card (1997) Emailing html (1998)