Re: WebCat2b13 Mac plugin - [sendmail] and checkboxes

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10493
interpreted = N
texte = >>I have an input form that's used to collect data. The values entered are >>passed as variables (for example, [v.fieldName] ) to the next page, which >>is a results template that has an embedded [sendmail] context. >> >>When a user fails to enter a value in a text field, that field appears >>blank on the sendmail message. But when a user fails to check a checkbox, >>WebCat2 enters the literal value of the variable. In other words, I don't >>see a blank where I expect one, I see something like [v.fieldName] instead. >> >>Why doesn't WebCat2 deal with empty text fields and unchecked checkboxes >>the same way?>before the user checks the box, set it's VALUE=. I do this elsewhere >just to be safe on all my forms that have check boxes or radio buttons. >This can get confused I think if they hit the back button and no value is >changed again. Does this make sense?For text fields it makes sense, but not for checkboxes. The VALUE parameter is always preset in a checkbox tag, so this won't do it. Grant says the unchecked checkbox fieldname doesn't even exist in the list of parameters (no matter what you set the VALUE to in advance) and he's right.I just sent him a request for ideas for a possible solution, so I hope he will respond to the WebDNA-Talk list now that it's working again ... :)Sincerely, Ken ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2b13 Mac plugin - [sendmail] and checkboxes (Kenneth Grome 1997)
  2. Re: WebCat2b13 Mac plugin - [sendmail] and checkboxes (Grant Hulbert 1997)
  3. Re: WebCat2b13 Mac plugin - [sendmail] and checkboxes (Kenneth Grome 1997)
  4. Re: WebCat2b13 Mac plugin - [sendmail] and checkboxes (grichter@panavise.com (Gary Richter) 1997)
  5. WebCat2b13 Mac plugin - [sendmail] and checkboxes (Kenneth Grome 1997)
>>I have an input form that's used to collect data. The values entered are >>passed as variables (for example, [v.fieldName] ) to the next page, which >>is a results template that has an embedded [sendmail] context. >> >>When a user fails to enter a value in a text field, that field appears >>blank on the sendmail message. But when a user fails to check a checkbox, >>WebCat2 enters the literal value of the variable. In other words, I don't >>see a blank where I expect one, I see something like [v.fieldName] instead. >> >>Why doesn't WebCat2 deal with empty text fields and unchecked checkboxes >>the same way?>before the user checks the box, set it's VALUE=. I do this elsewhere >just to be safe on all my forms that have check boxes or radio buttons. >This can get confused I think if they hit the back button and no value is >changed again. Does this make sense?For text fields it makes sense, but not for checkboxes. The VALUE parameter is always preset in a checkbox tag, so this won't do it. Grant says the unchecked checkbox fieldname doesn't even exist in the list of parameters (no matter what you set the VALUE to in advance) and he's right.I just sent him a request for ideas for a possible solution, so I hope he will respond to the WebDNA-Talk List now that it's working again ... :)Sincerely, Ken ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Kenneth Grome

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:

Summing a field full of numbers ... (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Linux problems (2000) Using Applescript to process WebCatalog functions (1998) random sorting broken (was Re[2]: php vs WebCatalog) (2000) Pithy questions on webcommerce & siteedit (1997) color and size options / ARCHIVES (1997) Problem (1997) Re2: frames & carts (1997) Shipping costs again (1998) WebCat2 beta 11 - new prefs ... (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WCS Newbie question (1997) About WebCatalog and iTools 7 (2003) WCS Newbie question (1997) Associative lookup style? (1997) Security Issues and WebCommerce Solution (1997) error -571 (2004) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Looking up two prices in database? (1997)