Re: Checking for blank form fields (sort of...)
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18346
interpreted = N
texte = >I would expect that if [subject] doesn't exist, it would leave the field>empty, but instead, it always puts the text [subject] in the field, except>when it really is getting passed a value.Yes, that's on purpose to be compatible with HTML pages that happen to havetext in them that look like tags. If WebCatalog doesn't recognize a tag,it leaves it alone.So the solution is to compare against the raw text [xxx] like so:[ShowIf [subject]=[raw][subject][/raw]]No subject passed in![/ShowIf]Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I would expect that if [subject] doesn't exist, it would leave the field>empty, but instead, it always puts the text [subject] in the field, except>when it really is getting passed a value.Yes, that's on purpose to be compatible with HTML pages that happen to havetext in them that look like tags. If WebCatalog doesn't recognize a tag,it leaves it alone.So the solution is to compare against the raw text [xxx] like so:[ShowIf [subject]=
[raw][subject][/raw]]No subject passed in![/ShowIf]Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
RE: Error reading data -1 (1997)
Webcatalog server support (1997)
WebMerchant Error (1998)
help with writefile (1998)
Superfilous Characters (1998)
[url] with frames (2003)
Database Options (1997)
Deleting Orders (1997)
WebDelivery: One step closer !! (1997)
A simple email page? (1999)
Need help with text area (1998)
[WebDNA] [WSC] WebDNA Development Summit (2014)
WebCat2 as a chat server? (1997)
shipcost (1997)
Searching multiple Databases (1997)
[username][password] not showing up! HELP! (1999)
A multi-processor savvy WebCatalog? (1997)
WebCat2 - [SendNews] (1997)
OK to delete records while finding them? (2000)
multiple search commands (1997)