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:
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)