Re: Multiple Hideif peramiters
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38903
interpreted = N
texte = The trick here is to do the multiple item list first then use a contains operator...[hideif _1_2_5.7_^_[variable]_]Notice also the use of the delimiter character - I used _ in the example but you can use any character you want that won't mess up the context (e.g. don't use = or any other comparison operator).The purpose of using the delimiters is so you can avoid matching on a partial string - such as if [variable] had a value of 7 -- the source string contains a 7, but the comparison will be for _7_ which it does not contain, while testing for _5.7_ will result in a match.- brianAt 1:06 PM 9/25/2001, Donovan Brooke wrote:>is this valid context?>>[hideif [variable]=1,2,5.7][/hideif]>>meaning it will hide the enclosed if the variable matches any of the >above numbers..>>thanx very much.>>>-- Donovan D. Brooke-------------------------------------------------------------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:
The trick here is to do the multiple item list first then use a contains operator...[hideif _1_2_5.7_^_[variable]_]Notice also the use of the delimiter character - I used _ in the example but you can use any character you want that won't mess up the context (e.g. don't use = or any other comparison operator).The purpose of using the delimiters is so you can avoid matching on a partial string - such as if [variable] had a value of 7 -- the source string contains a 7, but the comparison will be for _7_ which it does not contain, while testing for _5.7_ will result in a match.- brianAt 1:06 PM 9/25/2001, Donovan Brooke wrote:>is this valid context?>>[hideif [variable]=1,2,5.7][/hideif]>>meaning it will hide the enclosed if the variable matches any of the >above numbers..>>thanx very much.>>>-- Donovan D. Brooke-------------------------------------------------------------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/
Brian Fries
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:
sendmail and CGatePro (2003)
OT - SMSI complaint (2001)
target=_blank and form variables (1997)
WebCat2b15MacPlugin - showing [math] (1997)
[searchString] (1997)
Error upgrading to webDNA 5.1e (2003)
WebCat2.0 [format thousands .0f] no go (1997)
Emailer setup (1997)
For those of you not on the WebCatalog Beta... (1997)
[WriteFile] problems (1997)
Pass a form (2003)
RAM variables (1997)
Disappearing Database (1998)
[Lookup] on secure page not returning anything (2000)
WebCatalog complains that the service is not running. (1998)
multiple search commands (1997)
New Zealand [OT - was Car Database] (2002)
interactive .pdf files and WebCatalog (2000)
[Fileinfo] Context (2000)
Help! I've fallen in Structured Query Language and can'tget (2002)