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:

OT: Way off-topic: Qmail and Linux (2003) Questions To Answer (1997) year 2000 + and webmerch, macauth? (1998) Date problems (1997) Pay Flow Pro Mac OS9 (2002) how do I delete 1 of 2 identical records? (2003) Target wit redirect (1998) WC2f3 (1997) Way Off Topic (2003) Call For Entry: Third Annual Business on The Internet (BOTI)Awards (1999) [WebDNA] authorize.net / payeezy FirstData (2019) Document Contains No Data! (1997) 4.0 upgrade and existing webMerchant (2000) blank page from template (1997) Removing items from a cart is wonky... (1998) FW: 2.01 upgrade problems (1997) Creating 404 Not Found pages (1999) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) RAM variables (1997) Field name-subcategory (1997)