Re: hideif glitch
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52925
interpreted = N
texte = Justin Carroll wrote:Justin as you wrote, this makes perfect sense to me.In the first search you are finding that *nothing* is showing upin the description field.In the second search, you are choosing to hide the contents if *nothing*is in the description field.You are hiding the contents because nothing is in the description field.Donovan> I'm having sort of a glitch with my WebDNA code and a [hideif] statement. If I do this:> > [search db=somedb.db&geskudatarq=0]> [founditems]> [title]>
> [description]>
> [/founditem]> [/search]> > ... and [description] is empty in the database, it will show nothing for the description field; however, if I do this:> > [search db=somedb.db&geskudatarq=0]> [founditems]> [hideif [description]=]> [title]>
> [description]>
> [/hideif]> [/founditem]> [/search]> > ... then nothing shows up on the page. It's as if the search never happened. I have this same thing going on on other pages for different fields in the same db but this is not happening for them. Please help, thanks.> > Justin Carroll> > > > -------------------------------------------------------------> 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/> -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design P.O. Box 260153 Madison, WI 53726-0153 PH:> 1.608.592.3567 email:> dbrooke@euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Justin Carroll wrote:Justin as you wrote, this makes perfect sense to me.In the first search you are finding that *nothing* is showing upin the description field.In the second search, you are choosing to hide the contents if *nothing*is in the description field.You are hiding the contents because nothing is in the description field.Donovan> I'm having sort of a glitch with my WebDNA code and a [hideif] statement. If I do this:> > [search db=somedb.db&geskudatarq=0]> [founditems]> [title]>
> [description]>
> [/founditem]> [/search]> > ... and [description] is empty in the database, it will show nothing for the description field; however, if I do this:> > [search db=somedb.db&geskudatarq=0]> [founditems]> [hideif [description]=]> [title]>
> [description]>
> [/hideif]> [/founditem]> [/search]> > ... then nothing shows up on the page. It's as if the search never happened. I have this same thing going on on other pages for different fields in the same db but this is not happening for them. Please help, thanks.> > Justin Carroll> > > > -------------------------------------------------------------> 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/> -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design P.O. Box 260153 Madison, WI 53726-0153 PH:> 1.608.592.3567 email:> dbrooke@euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan
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:
SSL and Webstar 3 with Webcatalog (1998)
Adding Shipping Fields (1999)
Sorting by date (1997)
[WebDNA] Ubuntu 18.04 & Apache2 & WebDNA fcgi - File upload (2019)
[WebDNA] Sublime Text 3 syntax file for WebDNA? (2016)
WebCat2b13MacPlugIn - More limits on [include] (1997)
(1997)
More on the email templates (1997)
More Applescript (1997)
NT requires capitalized append? (2000)
Triggers Suck! (2000)
Quickie question on the email templates (1997)
Re2: frames & carts (1997)
Paths, relative paths, webstar server setup and security (Mac) (1997)
Running _every_ page through WebCat ? (1997)
carriage returns in data (1997)
PCS Frames (1997)
Bug with Triggers (2003)
NT [delete] (1998)
More on the email templates (1997)