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:

WebTen and WebCat (1997) This message couldn't reach the list! (multi-column (1998) ShowIf variables (1997) RequiredFields notes ... (1997) Banners (1997) Still Stumped on ShowNext...HELP! (1997) Help! WebCat2 bug (1997) F2 to F3 rocky transition (1997) [WebDNA] Parsing XML...again... (2010) [WebDNA] Help with ReplaceFoundItems (2009) Why does this not work? (2002) Automating a Post Method (2000) RE: Web*SSL and WebCatalog (1997) Shipping charges depending on tax rate? (1997) Classified Ads 4 Sale (1998) with Link i need to (1997) Applescript, WebDNA, and PDF (1997) Using Applescript to process WebCatalog functions (1998) Problems getting parameters passed into email. (1997) Variable prices and Formulas.db (1997)