Re: hideif glitch

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52923
interpreted = N
texte = I've run into that as well. I don't know the correct way to fix the problem, however, I came up with a pretty good work around. What I do is in the form make the default value an * and then make the [hideif [filedname]=*] Jesse ----- Original Message ----- From: "Justin Carroll" To: "WebDNA Talk" Sent: Tuesday, September 16, 2003 2:32 PM Subject: hideif glitch > 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/ > > ------------------------------------------------------------- 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: hideif glitch ( Justin Carroll 2003)
  2. Re: hideif glitch ( WJ Starck 2003)
  3. Re: hideif glitch ( Justin Carroll 2003)
  4. Re: hideif glitch ( Donovan 2003)
  5. Re: hideif glitch ( Jesse Williams-Proudman 2003)
  6. Re: hideif glitch ( "Jesse Crofoot" 2003)
  7. Re: hideif glitch ( Justin Carroll 2003)
  8. Re: hideif glitch ( Jesse Williams-Proudman 2003)
  9. hideif glitch ( Justin Carroll 2003)
I've run into that as well. I don't know the correct way to fix the problem, however, I came up with a pretty good work around. What I do is in the form make the default value an * and then make the [hideif [filedname]=*] Jesse ----- Original Message ----- From: "Justin Carroll" To: "WebDNA Talk" Sent: Tuesday, September 16, 2003 2:32 PM Subject: hideif glitch > 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/ > > ------------------------------------------------------------- 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/ "Jesse Crofoot"

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:

Happy Easter ... and grep string request ... (2004) RE: Missing contexts on NT (1997) WebCat 3 & Aliases (2000) Not really WebCat (1997) Database append/replace (2004) WebCat2_Mac RETURNs in .db (1997) hmmm (2006) About Cookies... (2004) select menus & database design (1998) WebDNA on a Raq4i (2003) Help!!!! (1997) Protect vs Authenicate (1997) Sorting ip addresses (2002) Help!!!! Purchases not going through! (1997) Email notification to one of multiple vendors ? (1997) Javascript/WebCatalog form population (2001) 'RequiredField' Question (1998) Execute Applescript (1997) multi-paragraph fields (1997) Order not created error (1997)