Re: [showif] with !
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36032
interpreted = N
texte = On 8/10/00 12:55 pm, Kim Ingram so noted...>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[/text][/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]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------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:
On 8/10/00 12:55 pm, Kim Ingram so noted...>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[/text][/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]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------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/
Rob Marquardt
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:
WebCatalog not running after upgrade (2000)
still having shipCost.db Problem (1997)
customizing the color of user's pages (1997)
slow site (2003)
[WebDNA] [OT] Looking for work (2011)
Re:Copyright ? (1997)
Problems problems problems (1997)
[BULK] RE: [WebDNA] RE: Error. WebDNA (version 5.1g or later) is not running. (2012)
Exporting from Excel (1998)
Hiding files/images. (2000)
Error Type 3 (1999)
Public beta 4 of WebCatalog 4.0 is now available (2000)
WebCat2 - [include] tags (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
WebCat2 - Getting to the browser's username/password data (1997)
PCS Frames (1997)
emailer error -108 (1997)
Document Contains No Data! (1997)
WebMerchant Question (2000)
japanese characters (1997)