Re: how to check for no value while using [URL] to prevent cr

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25517
interpreted = N
texte = The only time that WebCatalog will return the field name instead of the contents is if the field has never been used before. The best way to fix this is to pre-assign a value to that field. Like so (with WebCat 3.x only):[Text]Subscriber=Friend[/Text] . . . [!] some time later [/!] . . . [!] next page [!] Dear [Subscriber], Blah, blah, blahBy preassigning a value, you will ensure that any test can be forced to succeed or fail at will.HTHJohn Peacock ____________________Reply Separator____________________ Subject: how to check for no value while using [URL] to prevent crash Author: (WebCatalog Talk) Date: 12/15/99 4:44 PMwhat is the proper way to check for a container with no value? I have a form one can use to subscribe to an ezine. If they (optionally) input their name then I want to address them by name (this feature is working), but if they do not input their name (only their email address), then I want to address them as friend (this is attempted - and not working - by the following comparison)-Dear... [showif [URL][SubsciberName][/URL]=[URL][RAW][SubsciberName][/RAW][/URL]]friend,[/showif ]The browser returns Dear (the showif is evaluating as false even when the conatiner comes in with no value. ? -John ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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: how to check for no value while using [URL] to prevent cr (Bob Minor 1999)
  2. Re: how to check for no value while using [URL] to prevent cr (Kenneth Grome 1999)
  3. Re: how to check for no value while using [URL] to prevent cr (Christer Olsson 1999)
  4. Re: how to check for no value while using [URL] to prevent cr (Charles Kline 1999)
  5. Re: how to check for no value while using [URL] to prevent cr (Brian B. Burton 1999)
  6. Re: how to check for no value while using [URL] to prevent cr (Charles Kline 1999)
  7. Re: how to check for no value while using [URL] to prevent cr (Christer Olsson 1999)
  8. Re: how to check for no value while using [URL] to prevent cr (Charles Kline 1999)
  9. Re: how to check for no value while using [URL] to prevent cr (Kenneth Grome 1999)
  10. Re: how to check for no value while using [URL] to prevent cr (jpeacock@univpress.com 1999)
  11. Re: how to check for no value while using [URL] to prevent cr (John Butler 1999)
  12. how to check for no value while using [URL] to prevent crashing? (John Butler 1999)
The only time that WebCatalog will return the field name instead of the contents is if the field has never been used before. The best way to fix this is to pre-assign a value to that field. Like so (with WebCat 3.x only):[text]Subscriber=Friend[/Text] . . . [!] some time later [/!] . . . [!] next page [!] Dear [Subscriber], Blah, blah, blahBy preassigning a value, you will ensure that any test can be forced to succeed or fail at will.HTHJohn Peacock ____________________Reply Separator____________________ Subject: how to check for no value while using [url] to prevent crash Author: (WebCatalog Talk) Date: 12/15/99 4:44 PMwhat is the proper way to check for a container with no value? I have a form one can use to subscribe to an ezine. If they (optionally) input their name then I want to address them by name (this feature is working), but if they do not input their name (only their email address), then I want to address them as friend (this is attempted - and not working - by the following comparison)-Dear... [showif [url][SubsciberName][/URL]=[url][raw][SubsciberName][/RAW][/URL]]friend,[/showif ]The browser returns Dear (the showif is evaluating as false even when the conatiner comes in with no value. ? -John ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 jpeacock@univpress.com

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:

[WebDNA] Sending Client Side Certificate via TCPCONNECT (2011) IE-caching (1998) PCS Frames (1997) Multiple Pulldowns/Gary (1997) First postarg not taking in $Commands (1997) A few questions. . . (1997) AccountAuthorizer doing something useful (2002) MySQL (2003) WebCatalog Hosting (1996) Generating unique SKU from [cart] - Still Stumped... (1997) [WebDNA] [OT] hello (2012) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Price override (2004) WebCatalog 2.0 b 15 mac (1997) WebCat and OS9 (1999) a search based on ^(contains) (1998) Providing hard copy of database to client (1997) WebCatalog NT beta 18 now available (1997) Need something like [listchars] ... (2000) SKU lookup (1997)