Re: tricky embedded[showifs/hideifs] (w/ code.. long)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27649
interpreted = N
texte = Kenneth Grome wrote:> >So does anyone have any suggestions about how to hide the multiple credit card checksuming > >code pieces on the invoice.tpl and thanks.tpl within the StoreBuilder templates based on > >if a checkbox value is true?? I'm dying here trying to come up an explanation to my client > >why I _can't_ have NET 30 customers bypass the credit card code. ;)Surely (99% sure ;-) you can do what the client needs using webcat in this case. You just may have to write whole sections of code/html twice - once for when a wrapping [showif] evaluates to true and once when a similar wrapping [hideif] evaluates to true. SO you have thus covered both scenarios without writing bad WebDNA.-John> > > If you can try to post ONLY the relevant section of your code, it might encourage one of us to take a look at it. It's even better if you get rid of the html, because often the html has no affect on the webdna code, and instead it just gets in the way of our attempts to find the bad webdna code ... :) > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  2. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
  3. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  4. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
  5. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (John Butler 2000)
  6. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  7. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
  8. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (Kenneth Grome 2000)
  9. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (WebDNA Support 2000)
  10. Re: tricky embedded[showifs/hideifs] (w/ code.. long) (John Butler 2000)
  11. tricky embedded[showifs/hideifs] (w/ code.. long) (Parker 2000)
Kenneth Grome wrote:> >So does anyone have any suggestions about how to hide the multiple credit card checksuming > >code pieces on the invoice.tpl and thanks.tpl within the StoreBuilder templates based on > >if a checkbox value is true?? I'm dying here trying to come up an explanation to my client > >why I _can't_ have NET 30 customers bypass the credit card code. ;)Surely (99% sure ;-) you can do what the client needs using webcat in this case. You just may have to write whole sections of code/html twice - once for when a wrapping [showif] evaluates to true and once when a similar wrapping [hideif] evaluates to true. SO you have thus covered both scenarios without writing bad WebDNA.-John> > > If you can try to post ONLY the relevant section of your code, it might encourage one of us to take a look at it. It's even better if you get rid of the html, because often the html has no affect on the webdna code, and instead it just gets in the way of our attempts to find the bad webdna code ... :) > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 John Butler

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:

Practice runs ? (1997) [WebDNA] TcpConnect Help (2011) Pre-flight public flag (1997) Applescript, WebDNA, and PDF (1997) are we ready to fix random sort? - Or did that already happen? (2000) webCat craps httpd (2005) SiteBuilder Problem (2004) Pithy questions on webcommerce & siteedit (1997) Random Command (1997) ThreadMem ignored? (1998) View Source from cache (1997) [WebDNA] v 7 append (2012) Languages (1997) Forms Search Questions (1997) Banner DNA (1997) WebCatalog f2 Installation (1997) Date Time Oddness (1999) Search: Is this possible? (2005) Sorry for the simple Question.. (1999) Multiple database stuff... (1999)