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 formmake 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 PMSubject: 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 forthe 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 neverhappened. I have this same thing going on on other pages for differentfields 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:
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 formmake 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 PMSubject: 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 forthe 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 neverhappened. I have this same thing going on on other pages for differentfields 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)