Re: detecting if var is blank?
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68376
interpreted = N
texte = One more thing ....URL the variable because if ! or & is contained in the passed variable the whole thing will breakOn 27 Jan 2007, at 1:56 AM, Scott Szretter wrote:> Thank you everyone!>>> Alex McCombie wrote:>>>>> [hideif [myvar]=[raw][myvar][/raw]]>>> [hideif [myvar]=]>>> Only shows if the variable is not blank or undefined>>> [/hideif][/hideif]>>>>>> I like the undocumented "or" feature for showif/hideif>> for stuff like above..>>>> [hideif |[raw][myvar][/raw]||^|[myvar]|]>> Only shows if the variable is not blank or undefined>> [/hideif]>>>> Donovan>>>>>>>> -->> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> DONOVAN D. BROOKE EUCA Design Center>> <- Web Development (specializing in eCommerce),->>> <- Desktop Publishing, Print Consulting, Labels ->>> <-Glass Products, off-hand Classes/studio rental->>>>> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/>> Web Sites:> http://www.euca.us & http://www.egg.bz>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>> ------------------------------------------------------------->> 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/>>> -- > powerful software and services: www.eesco.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 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 more thing ....URL the variable because if ! or & is contained in the passed variable the whole thing will breakOn 27 Jan 2007, at 1:56 AM, Scott Szretter wrote:> Thank you everyone!>>> Alex McCombie wrote:>>>>> [hideif [myvar]=[raw][myvar][/raw]]>>> [hideif [myvar]=]>>> Only shows if the variable is not blank or undefined>>> [/hideif][/hideif]>>>>>> I like the undocumented "or" feature for showif/hideif>> for stuff like above..>>>> [hideif |[raw][myvar][/raw]||^|[myvar]|]>> Only shows if the variable is not blank or undefined>> [/hideif]>>>> Donovan>>>>>>>> -->> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> DONOVAN D. BROOKE EUCA Design Center>> <- Web Development (specializing in eCommerce),->>> <- Desktop Publishing, Print Consulting, Labels ->>> <-Glass Products, off-hand Classes/studio rental->>>>> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/>> Web Sites:> http://www.euca.us & http://www.egg.bz>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>> ------------------------------------------------------------->> 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/>>> -- > powerful software and services: www.eesco.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 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/
Stuart Tremain
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:
WCS Newbie question (1997)
killer-format in cart (1998)
Further on formula.db failure to calculate shipCost (1997)
emailer (1997)
ampersand in a sendmail body (2007)
[shownext max=?] armed (1997)
Cookie still not working (1999)
New WebCatalog Version !!! (1997)
cart converting to scientific notation format (2001)
GuestBook example (1997)
Email within tmpl ? (1997)
question: webdelivery folder and file (1997)
Some Questions (1997)
Line items in table cells (1997)
videos.. yak..yak (1998)
Need help with Shipping/Price discounts (1998)
Concatenating Form Variables (1998)
Username/Password with [Protect] (2000)
how to construct a search for not this entire string? (2000)
Automating a Post Method (2000)