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:

Quickie question on the email templates (1997) SPAM (OT) (2004) removing commas from a preformatted number (2000) Need relative path explanation (1997) Alpha List for Catagory (1998) WC 2.0 frames feature (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Navigator 4.01 (1997) [WebDNA] maybe silly suggestion? [founditems] (2015) [BULK] [WebDNA] abstraction code can be tricky... (2012) WebCat 5 Intranet Question (2003) Problems with shopping cart (1997) WebCatalog Plug-in for Webstar. (1997) Unknown error: OrderNotCreated (1997) [WebDNA] search limit using WO? (2012) F3 crashing server (1997) multi-paragraph fields (1997) Date Sorting (1997) database with 10,000+ web pages stored in it? (2000) limitation found on group searching (1997)