Re: Fwd: checkboxes

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31710
interpreted = N
texte = Mike - I don't read e-mail headers unless I am trying to debug. I saw no reason to suspect that the message was being forwarded by someone else; I already apologized to Joseph for that.However, your earlier messages were lacking a certain, what can I say, depth. You stated that you needed help with checkboxes, without an example of your code. That is why I tried to gently nudge you in the direction of remembering that everyone on this list is busy (we have our own jobs) and we cannot teach beginners who cannot even get started.That out of the way, a command is something that the user needs to click on to have the effect; a context happens exactly where it is on the page. This leads to the useful lesson that you can stack contexts to your hearts content on a page and they fire one by one from the top to the bottom of the page.In your specific case, you want to use the following context for each of your possible checkboxes (hidden by the correct [showif]): [AddLineItem Parameters]values[/AddLineItem]You inserted a command, which (had it been formatted as a link ), would have required the user to click there to add the item to the cart.Hopefully you find this more helpful. I suggest that you spend some more time with the docs and just go down the list of contexts and see what might be useful to remember for later use.John PeacockWebmaster@4GDATA.com wrote: > > John or to Anyone, > > Basically, I'm stuck. I never ask you to teach me html. Web > DNA is definitely not my expertise or I wouldn't be subscribing to this > list. Maybe I didn't explain myself right. So I will try to do a better job. > The code you sent me is to show what variables are coming over to the next > page and the values set to them, I know this bit of code, the check boxes do > come over when selected.. I'm well informed about check boxes. What I'm > attempting to do is the following. > [showif[checkboxname]=on] [search/replace/WHATEVER] > [/showif]. Picture a hamburger and a choice of five toppings. Someone may > want x out of 5 toppings. But......Each topping is an additional cost. I > want is to have the check boxes to signal webcat to search a database and > return an item with its price as a line item. Its true sometimes I get mixed > up between a context and command but I usually fix it. I mean you were so > willing to jump on a mistake, you didn't even read the original message > correctly, and blamed someone else for it. Now if we can cut down the > CANTANKEROUS attitude and act professional, I'm just asking for a little > help. > > Mike D > > -------- > > > Joseph - > > > > It may that no one answered your earlier e-mails because this list is > > not here to teach HTML or WebDNA coding techniques. Rather it is here > > to support people who can do some work on their own and are stuck. > > > > Try creating a form with a variety of checkboxes and radiobuttons. Then > > on the next page throw the following code: > > > > [FormVariables] > > [index],[name],[value]
> > [/FormVariables] > > > > You will see that unchecked checkboxes do not transmit any value at all. > > You might also be interested in noting what the checked boxes do send. > > > > You also need to understand the difference between a context and a > > command. You put a command in where you meant to use a context. > > > > Before we can help you, you must help yourself. Read The Fine Manual... > > > > John Peacock > > > > Joseph D'Andrea wrote: > > > > > > >X-Real-To: JoeDan > > > >From: MDifilippo@4GDATA.com > > > >To: JoeDan@West21.com > > > >Subject: checkboxes > > > >Date: Wed, 10 May 2000 11:09:05 > > > > > > > >Joe > > > > > > > > I attempted several times to send this message to webcat talk > > list. > > > >No one answered. I tried the following code on the shopping cart page. > > I was > > > >wondering if you had any insight. If they checked cheese I want cheese > > to be > > > >added as a line item. It doesn't seem there is a way to add to the > > shopping > > > >cart unless its hyper linked or am I wrong? > > > > > > > >showif [cheese]=on] > > > > > > > >Invoice.tpl?$add&db=topp.db&cart=[cart]&sku=1000&quantity=1 > > > > > > > >[/showif] > > > > > > > >> ---------------------------------------- > > > >> Michael Di Filippo > > > >> 4G Data Systems, Inc. - Internet Services > > > >> e-mail: mdifilippo@4gdata.com > > > >> Tel: (212) 233-4300 x29 > > > >> > > > >> ---------------------------------------- > >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Fwd: checkboxes (Webmaster@4GDATA.com 2000)
  2. Re: Fwd: checkboxes (John Peacock 2000)
  3. Re: Fwd: checkboxes (Webmaster@4GDATA.com 2000)
  4. Re: Fwd: checkboxes (John Peacock 2000)
  5. Re: Fwd: checkboxes (Joseph D'Andrea 2000)
  6. Re: Fwd: checkboxes (John Peacock 2000)
  7. Fwd: checkboxes (Joseph D'Andrea 2000)
Mike - I don't read e-mail headers unless I am trying to debug. I saw no reason to suspect that the message was being forwarded by someone else; I already apologized to Joseph for that.However, your earlier messages were lacking a certain, what can I say, depth. You stated that you needed help with checkboxes, without an example of your code. That is why I tried to gently nudge you in the direction of remembering that everyone on this list is busy (we have our own jobs) and we cannot teach beginners who cannot even get started.That out of the way, a command is something that the user needs to click on to have the effect; a context happens exactly where it is on the page. This leads to the useful lesson that you can stack contexts to your hearts content on a page and they fire one by one from the top to the bottom of the page.In your specific case, you want to use the following context for each of your possible checkboxes (hidden by the correct
[showif]): [AddLineItem Parameters]values[/AddLineItem]You inserted a command, which (had it been formatted as a link ), would have required the user to click there to add the item to the cart.Hopefully you find this more helpful. I suggest that you spend some more time with the docs and just go down the list of contexts and see what might be useful to remember for later use.John PeacockWebmaster@4GDATA.com wrote: > > John or to Anyone, > > Basically, I'm stuck. I never ask you to teach me html. Web > DNA is definitely not my expertise or I wouldn't be subscribing to this > list. Maybe I didn't explain myself right. So I will try to do a better job. > The code you sent me is to show what variables are coming over to the next > page and the values set to them, I know this bit of code, the check boxes do > come over when selected.. I'm well informed about check boxes. What I'm > attempting to do is the following. > [showif[checkboxname]=on] [search/replace/WHATEVER] > [/showif]. Picture a hamburger and a choice of five toppings. Someone may > want x out of 5 toppings. But......Each topping is an additional cost. I > want is to have the check boxes to signal webcat to search a database and > return an item with its price as a line item. Its true sometimes I get mixed > up between a context and command but I usually fix it. I mean you were so > willing to jump on a mistake, you didn't even read the original message > correctly, and blamed someone else for it. Now if we can cut down the > CANTANKEROUS attitude and act professional, I'm just asking for a little > help. > > Mike D > > -------- > > > Joseph - > > > > It may that no one answered your earlier e-mails because this list is > > not here to teach HTML or WebDNA coding techniques. Rather it is here > > to support people who can do some work on their own and are stuck. > > > > Try creating a form with a variety of checkboxes and radiobuttons. Then > > on the next page throw the following code: > > > > [formvariables] > > [index],[name],[value]
> > [/FormVariables] > > > > You will see that unchecked checkboxes do not transmit any value at all. > > You might also be interested in noting what the checked boxes do send. > > > > You also need to understand the difference between a context and a > > command. You put a command in where you meant to use a context. > > > > Before we can help you, you must help yourself. Read The Fine Manual... > > > > John Peacock > > > > Joseph D'Andrea wrote: > > > > > > >X-Real-To: JoeDan > > > >From: MDifilippo@4GDATA.com > > > >To: JoeDan@West21.com > > > >Subject: checkboxes > > > >Date: Wed, 10 May 2000 11:09:05 > > > > > > > >Joe > > > > > > > > I attempted several times to send this message to webcat talk > > list. > > > >No one answered. I tried the following code on the shopping cart page. > > I was > > > >wondering if you had any insight. If they checked cheese I want cheese > > to be > > > >added as a line item. It doesn't seem there is a way to add to the > > shopping > > > >cart unless its hyper linked or am I wrong? > > > > > > > >showif [cheese]=on] > > > > > > > >Invoice.tpl?$add&db=topp.db&cart=[cart]&sku=1000&quantity=1 > > > > > > > >[/showif] > > > > > > > >> ---------------------------------------- > > > >> Michael Di Filippo > > > >> 4G Data Systems, Inc. - Internet Services > > > >> e-mail: mdifilippo@4gdata.com > > > >> Tel: (212) 233-4300 x29 > > > >> > > > >> ---------------------------------------- > >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

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:

Document Contains No Data! (1997) [BULK] [WebDNA] triggers.db "next execute" fails to update (2012) [ot] Webserver monitoring (2001) Re:2nd WebCatalog2 Feature Request (1996) Emailer not working (1998) WebCatalog/Mac 2.1b2 New Features (1997) [WebDNA] Function "libraries" (2009) not interpreting Q (2001) rn doesn't work on date fields (1998) duplicate cart numbers (2002) Error:Too many nested [xxx] contexts (1997) .db-tmp (2000) Cookie and Domain Names (2005) WebCatalog for guestbook ? (1997) RE: IIS4b2 and WebCatalog b19 (1997) [ListFiles] & [loop] (1998) 5.0 tips etc (2003) Adding flash banners (2008) Running _every_ page through WebCat ? (1997) Fwd: checkboxes (2000)