Re: [showif] with !

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36033
interpreted = N
texte = I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! > >I know it's been a few days, but for those of you following this > >thread....the [title_req] is coming from a form, but the problem isn't > >coming from when it is left blank. Everything works fine when the > >[title_req] is left blank. The problem is coming from when > >[title_req]=Anything Ending with !, because that puts two !'s in > a row...and > >I don't think WebCatalog knows what to do with it. I've tried the > >following: > > > >[showif [url][title_req][/url]!][text]complete=F[/text][/showif] > > Odd, this one works for me. For any non-empty value of [title_req] > (including ending with !), [complete] = F. For an empty value in > [title_req], [complete] equals the raw [complete]. Is that not the > behavior you're trying to accomplish? > > >[showif > [title_req]![raw][title_req][/raw]][text]complete=F[/text][/showif] > > Since you're not [url]ling [title_req] in this case, there's the > potential problems here if [title_req] contains any of the [showif] > comparisons. Rule this one out : ) > > >[showif > >[url][title_req][/url]![raw][title_req][/raw]][text]complete=F[/t > ext][/showi > >f] > > For this one, [complete] will *always* be F -- regardless of the > contents or existence of [title_req] the comparison will always be true. > > It looks like all of these are trying to do the opposite of what you're > looking for -- for [complete] to equal F if [title_req] is empty. Why > not just... > > [showif [url][title_req][/url]=][text]complete=F[/text][/showif] ------------------------------------------------------------- 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: [showif] with ! (John Peacock 2000)
  2. Re: [showif] with ! (John Butler 2000)
  3. Re: [showif] with ! (Kim Ingram 2000)
  4. Re: [showif] with ! (Rob Marquardt 2000)
  5. Re: [showif] with ! (John Peacock 2000)
  6. Re: [showif] with ! (Kim Ingram 2000)
  7. Re: [showif] with ! (Aaron Lynch 2000)
  8. Re: [showif] with ! (John Butler 2000)
  9. Re: [showif] with ! (John Davies 2000)
  10. Re: [showif] with ! (Kim Ingram 2000)
  11. Re: [showif] with ! (Gary Krockover 2000)
  12. Re: [showif] with ! (Kim Ingram 2000)
  13. Re: [showif] with ! (Kim Ingram 2000)
  14. Re: [showif] with ! (Anup Setty 2000)
  15. Re: [showif] with ! (Charles Kline 2000)
  16. [showif] with ! (Kim Ingram 2000)
I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! I LOVE WEBCATALOG! > >I know it's been a few days, but for those of you following this > >thread....the [title_req] is coming from a form, but the problem isn't > >coming from when it is left blank. Everything works fine when the > >[title_req] is left blank. The problem is coming from when > >[title_req]=Anything Ending with !, because that puts two !'s in > a row...and > >I don't think WebCatalog knows what to do with it. I've tried the > >following: > > > >[showif [url][title_req][/url]!][text]complete=F[/text][/showif] > > Odd, this one works for me. For any non-empty value of [title_req] > (including ending with !), [complete] = F. For an empty value in > [title_req], [complete] equals the raw [complete]. Is that not the > behavior you're trying to accomplish? > > >[showif > [title_req]![raw][title_req][/raw]][text]complete=F[/text][/showif] > > Since you're not [url]ling [title_req] in this case, there's the > potential problems here if [title_req] contains any of the [showif] > comparisons. Rule this one out : ) > > >[showif > >[url][title_req][/url]![raw][title_req][/raw]][text]complete=F[/t > ext][/showi > >f] > > For this one, [complete] will *always* be F -- regardless of the > contents or existence of [title_req] the comparison will always be true. > > It looks like all of these are trying to do the opposite of what you're > looking for -- for [complete] to equal F if [title_req] is empty. Why > not just... > > [showif [url][title_req][/url]=][text]complete=F[/text][/showif] ------------------------------------------------------------- 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/ Kim Ingram

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:

Webmerchant confirmation hooks? (1997) Hard Questions ? (1997) WebCommerce: Folder organization ? (1997) Calendar using WebCatalog? (1997) Emailer (1998) 4.0.x find (2000) Search wbrk (repost) (2001) Ken's Data Manager (was dbQuickView 2.0) (2005) really wierd browser truncating (1997) Credit card processing - UK (1997) Troubles with Selection Drop Down List Search (1998) No. of items in shopping cart (2000) form data submission gets truncated (1997) cron script for housekeeping and running WebCatalog? (1999) test (2000) SUBSCRIBE (2000) Setting a range in a search (1998) Trouble with formula.db + more explanation (1997) UNSUBSCRIBE (2001) Next X hits (1996)