Re: SHOWIF/HIDEIF empty fields

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61883
interpreted = N
texte = Kenneth Grome wrote: > Your syntax is screwed up. What's that question mark doing in your > hideif? A question mark is not a comparison operator. You might try > fixing that problem first, before you make any more incorrect > assumptions. WebDNA does not work the way you're describing when your > syntax is correct. Actually there wasn't one there. It was a "not equal" sign that got screwed up in the email. But that was one half of the problem. I wasn't aware the not equal sign isn't even a ascii character and that WebDNA uses the ! instead. Thanks. :-) I feel a bit stupid for making such a basic mistake, but perhaps I can blame it on FileMaker's programming language. Half the programming is done in the databases here and half as WebDNA in the documents, so I do mix the two languages up once in a while. ;-) > By the way, you should [url] your [field] value in both examples below > if you really want to insure that your showif's and hideif's will work > properly all the time. And that was the second half of the problem. The [field] value is actually a rather huge text block and there may well be characters in it that WebDNA would interpret as comparasion operators. Seems sanity is restored then. Again: thanks a lot! One question though: does anybody know exactly what happens when a comparasion string contains more than one chracter WebDNA interprets as an operator? Does it pick the first one as the valid comparasion operator? or the last one? or one in the middle? Frank Nordberg http://www.musicaviva.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:

    
  1. Re: SHOWIF/HIDEIF empty fields ( Terry Wilson 2005)
  2. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  3. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  4. Re: SHOWIF/HIDEIF empty fields ( Lester 2005)
  5. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  6. Re: SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
  7. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  8. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  9. Re: SHOWIF/HIDEIF empty fields ( Bob Minor 2005)
  10. Re: SHOWIF/HIDEIF empty fields ( "WebDna @ Inkblot Media" 2005)
  11. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  12. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  13. Re: SHOWIF/HIDEIF empty fields -- OOPS ( Gary Krockover 2005)
  14. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  15. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  16. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  17. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  18. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  19. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  20. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  21. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  22. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  23. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  24. Re: SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
  25. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  26. SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
Kenneth Grome wrote: > Your syntax is screwed up. What's that question mark doing in your > hideif? A question mark is not a comparison operator. You might try > fixing that problem first, before you make any more incorrect > assumptions. WebDNA does not work the way you're describing when your > syntax is correct. Actually there wasn't one there. It was a "not equal" sign that got screwed up in the email. But that was one half of the problem. I wasn't aware the not equal sign isn't even a ascii character and that WebDNA uses the ! instead. Thanks. :-) I feel a bit stupid for making such a basic mistake, but perhaps I can blame it on FileMaker's programming language. Half the programming is done in the databases here and half as WebDNA in the documents, so I do mix the two languages up once in a while. ;-) > By the way, you should [url] your [field] value in both examples below > if you really want to insure that your showif's and hideif's will work > properly all the time. And that was the second half of the problem. The [field] value is actually a rather huge text block and there may well be characters in it that WebDNA would interpret as comparasion operators. Seems sanity is restored then. Again: thanks a lot! One question though: does anybody know exactly what happens when a comparasion string contains more than one chracter WebDNA interprets as an operator? Does it pick the first one as the valid comparasion operator? or the last one? or one in the middle? Frank Nordberg http://www.musicaviva.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/ Frank Nordberg

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:

User/pass with tcpconnect (2000) Emailer Error 472? (2004) RE: Answer: WebDelivery downloads alias, not original ? (1997) search same field twice??? (1999) RE: Template not found error messages (1997) ShoppingCart Woes (1998) Robert Minor duplicate mail (1997) [WebDNA] [OT] BBEdit Glossary (2012) [WebDNA] Build Name for 6.1 (2008) PDF template hell (2000) syntax question, not in online refernce (1997) PCS Frames (1997) Do not truncate a whole word (2004) question: back button prevention (1997) Limiting user access to .tmpl files (1997) Bug Report, maybe (1997) [isfile] ? (1997) [WebDNA] Clean URLS job - will pay (2010) How to include weather (2000) WebSTAR 2.1 freezes my Mac (1997)