numero = 68779
interpreted = N
texte = One thing you probably want to do instead,[showif = [var]]something[/showif][showif ![var]]something[/showif] in case your variable contains a !=~ etc. this could throw off your results as webdna reads this first qualifying statement, hence if var value was set to "!"then you statement would be [showif !=] or in plain english, show if "" does not equal "=" which of course it doesn't. This leaves you with opposite of what you wanted which is showif "" equals "!".try it for yourself and enjoy!On Apr 10, 2007, at 9:03:18:0, sbraun wrote:> As long as we're listing some useful guidelines,> I always get these 2 mixed up, and have to test it out by trial and > error, ie. lots of my time.>> What's the layman's difference/explanation of the following 2 > statements?>> [showif [var]=]something[/showif]> [showif [var]!]something[/showif]>> Thanks,> sfb>>>> On Apr 10, 2007, at 7:29 AM, Terry Wilson wrote:>>> I would add to Donovan's excellent guidelines this:>>>> [input][/input] when the value is in a form input of any kind, and >> make sure you use the quotes. e.g.:>> >> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
One thing you probably want to do instead,[showif = [var]]something[/showif][showif ![var]]something[/showif] in case your variable contains a !=~ etc. this could throw off your results as webdna reads this first qualifying statement, hence if var value was set to "!"then you statement would be [showif !=] or in plain english, show if "" does not equal "=" which of course it doesn't. This leaves you with opposite of what you wanted which is showif "" equals "!".try it for yourself and enjoy!On Apr 10, 2007, at 9:03:18:0, sbraun wrote:> As long as we're listing some useful guidelines,> I always get these 2 mixed up, and have to test it out by trial and > error, ie. lots of my time.>> What's the layman's difference/explanation of the following 2 > statements?>> [showif [var]=]something[/showif]> [showif [var]!]something[/showif]>> Thanks,> sfb>>>> On Apr 10, 2007, at 7:29 AM, Terry Wilson wrote:>>> I would add to Donovan's excellent guidelines this:>>>> [input][/input] when the value is in a form input of any kind, and >> make sure you use the quotes. e.g.:>> [input][myUSERNAMEvar] >> [/input]">>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.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://webdna.smithmicro.com/
Bob Minor
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...