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 Nordberghttp://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:
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 Nordberghttp://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:
Using [random] (1999)
Probably a very simple question? (1997)
Netscape v. IE (1997)
Not reading code (1997)
NT [delete] - duh nevermind. (1998)
stumped (2001)
Append is limiting the Number of Characters written to db (fwd) (1998)
Logging purchases (1997)
Details of shipping - Totalqty calculations (1997)
Proper file locations (1997)
[WebDNA] lists opinion (2009)
truncating email part II (1997)
WebCatalog and Bar Code Scanners (1999)
form data submission gets truncated (1997)
[input] questions (1997)
WebDNA Book? (2003)
Nav. 4 probs with cart (1997)
latest version? (1998)
[WebDNA] An alternative to hosting... (2009)
really wierd date stuff on NT (1997)