Re: wish list

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41515
interpreted = N
texte = On 7/13/02 1:11 AM, Kenneth Grome mashed the following keys :>> On 7/12/02 8:31 PM, Kenneth Grome mashed the following keys : >> >>>> Wish list: >>>> >>>> 1 Same options in [showif]/[hideif] that we have in [IF]. I use tons of >>>> these and the [IF] function gets hard to find and confusing on complex >>>> pages. Especially when many are nested. >>> >>> I never use [if]s because I agree that they are more confusing than >>> showifs and hideifs, and from everything I have learned there is >>> nothing if's can do that showif's cannot .. >> >> I used to think this too, but there are some times when it's pretty nice: >> >> [if [some_dynamically_generated_statement]=Whatever] >> [then] >> Something >> [/then] >> >> [else] >> Here is where I think if is cool, because you can have one statement, as >> opposed to 30 nested showifs >> [/else] >> >> [/if] >> >> >> Technically you're correct that a showif can do the same thing, but nested >> showifs 'gone bad' can be a bitch to figure out. > > I guess I never do the kind of comparisons you're talking about, or > maybe I don't understand your example. From your code above, > wouldn't this do the same thing?: > > [showif [some_dynamically_generated_statement]=Whatever] > Something > [/showif] > > [showif [some_dynamically_generated_statement]!Whatever] > Something Else > [/showif] >Not when [some_dynamically_generated_statemen] is a|b&cSay you wanted to show something if checkbox a is checked, OR if B & C were checked, but not if A & b were both checked. This could get really complex with showifs. ------------------------------------------------------------- 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: [WebDNA] Wish list (William DeVaul 2010)
  2. Re: [WebDNA] Wish list (Stuart Tremain 2010)
  3. [WebDNA] Wish list (Marc Thompson 2010)
  4. Re: wish list (Grant Hulbert 2002)
  5. Re: wish list (Andrew Simpson 2002)
  6. Re: wish list (Adam O'Connor 2002)
  7. Re: wish list (Glenn Busbin 2002)
  8. Re: wish list (Kenneth Grome 2002)
  9. Re: wish list (Adam O'Connor 2002)
  10. Re: wish list (Rob Marquardt 2002)
  11. Re: wish list (Aaron Lynch 2002)
  12. Re: wish list (Glenn Busbin 2002)
  13. Re: wish list (Aaron Lynch 2002)
  14. Re: wish list (Grant Hulbert 2002)
  15. Re: wish list (Paul Uttermohlen 2002)
  16. Re: wish list (Nitai @ ComputerOil 2002)
  17. Re: wish list (Kenneth Grome 2002)
  18. Re: wish list (Nitai @ ComputerOil 2002)
  19. Re: wish list (Kenneth Grome 2002)
  20. Re: wish list (Jesse Williams-Proudman 2002)
  21. Re: wish list (Kenneth Grome 2002)
  22. Re: wish list (Aaron Lynch 2002)
  23. Re: wish list (Kenneth Grome 2002)
  24. Re: wish list (marc malacarme 2002)
On 7/13/02 1:11 AM, Kenneth Grome mashed the following keys :>> On 7/12/02 8:31 PM, Kenneth Grome mashed the following keys : >> >>>> Wish list: >>>> >>>> 1 Same options in [showif]/[hideif] that we have in [if]. I use tons of >>>> these and the [if] function gets hard to find and confusing on complex >>>> pages. Especially when many are nested. >>> >>> I never use [if]s because I agree that they are more confusing than >>> showifs and hideifs, and from everything I have learned there is >>> nothing if's can do that showif's cannot .. >> >> I used to think this too, but there are some times when it's pretty nice: >> >> [if [some_dynamically_generated_statement]=Whatever] >> [then] >> Something >> [/then] >> >> [else] >> Here is where I think if is cool, because you can have one statement, as >> opposed to 30 nested showifs >> [/else] >> >> [/if] >> >> >> Technically you're correct that a showif can do the same thing, but nested >> showifs 'gone bad' can be a bitch to figure out. > > I guess I never do the kind of comparisons you're talking about, or > maybe I don't understand your example. From your code above, > wouldn't this do the same thing?: > > [showif [some_dynamically_generated_statement]=Whatever] > Something > [/showif] > > [showif [some_dynamically_generated_statement]!Whatever] > Something Else > [/showif] >Not when [some_dynamically_generated_statemen] is a|b&cSay you wanted to show something if checkbox a is checked, OR if B & C were checked, but not if A & b were both checked. This could get really complex with showifs. ------------------------------------------------------------- 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/ Aaron Lynch

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:

[WebDNA] Versions (2014) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Next X hits (1996) Emailer help....! (1997) Max Record length restated as maybe bug (1997) Virtual hosting and webcatNT (1997) Thanks and Big News!!! (1997) AuthorizeNet SSL Update (2004) webcatalog developers in W. Pa. (1998) ERASING DATABASE (1997) WebCatalog for guestbook ? (1997) RE: Javascripts (1998) My X-Mas Wish (1999) [WebDNA] webDNA and JSON (2011) [WebDNA] Email time bug? YES, it's a bug! (2011) WebCatalog for guestbook ? (1997) [tcp connect]-dumb question? (1998) apostrophe in search item (1997) shipping formula (2000) A multi-processor savvy WebCatalog? (1997)