Error - Search / Showif

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31807
interpreted = N
texte = Please help!! The problem is this...after posting to a template via web form, I recieve the following error: Error: Error: expected [/SEARCH], but found [/showif] instead[/showif]When I view the source code for the template...there's no code showing after: The above...T comes from form variable [Searching] and Single Family Residential comes from form variable [Category]. Can someone see an error in the following original code?? I've been looking at it for a while and can't figure out what the problem is. Is it impossible to use one or the other search command based on the [showif]/[hideif] form variables? The original code is as follows:
T Single Family Residential
[showif [Searching]=T] [search db=listings.txt&eqCategorydatarq=[Category]] [/showif] [hideif [Searching]=T] [search db=listings.txt&eqOfficedatarq=[Office]&eqCategorydatarq=[Category]&Pricesor t&Pricesdir=de&Pricetype=num&max=5] [/hideif] [founditems] [/founditems] [/search] ------------------------------------------------------------- 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:

[Searching] [Category]
$[format thousands 10.2f][Price][/format] [showif [Category]=Single Family Residential][include sfr.txt][/showif] [showif [Category]=Rural Residential][include rfr.txt][/showif] [showif [Category]=Rentals][include rentals.txt][/showif] [showif [Category]=Lots and Land][include lnl.txt][/showif] [showif [Category]=Commercial and Industrial][include cni.txt][/showif]
    
  1. Re: Error - Search / Showif (Paul Fowler 2000)
  2. Re: Error - Search / Showif (Anup Setty 2000)
  3. Re: Error - Search / Showif (Kenneth Grome 2000)
  4. Error - Search / Showif (Kim Ingram 2000)
Please help!! The problem is this...after posting to a template via web form, I recieve the following error: Error: Error: expected [/SEARCH], but found [/showif] instead[/showif]When I view the source code for the template...there's no code showing after: The above...T comes from form variable [Searching] and Single Family Residential comes from form variable [Category]. Can someone see an error in the following original code?? I've been looking at it for a while and can't figure out what the problem is. Is it impossible to use one or the other search command based on the [showif]/[hideif] form variables? The original code is as follows:
T Single Family Residential
[showif [Searching]=T] [search db=listings.txt&eqCategorydatarq=[Category]] [/showif] [hideif [Searching]=T] [search db=listings.txt&eqOfficedatarq=[Office]&eqCategorydatarq=[Category]&Pricesor t&Pricesdir=de&Pricetype=num&max=5] [/hideif] [founditems] [/founditems] [/search] ------------------------------------------------------------- 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/ Kim Ingram

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:

Server Freeze (1998) [WebDNA] thisAutonumber? (2011) ANother SHOWIF problem (1997) Createfolder / writefile problem (2004) [WebDNA] Sendmail on a one page website..... (2013) XML version of WebDNA docs? (2000) bug in [SendMail] (1997) WebCat2b15MacPlugin - showing [math] (1997) Database Options (1997) Migrating to NT (1997) WebCatalog.acgi quitting with error Type 2 (1998) PCS Frames-Default page is solution! (1997) [OT] FT WebDNA Developer Vacancy in London (2005) RE: [WebDNA] Poll: Discussion Forum (2009) Frames (1997) syntax question, not in online refernce (1997) Help on how to store calculated value (2002) WebCatalog Mac 2.1b3 (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) [BULK] [WebDNA] abstraction code can be tricky... (2012)
[Searching] [Category]
$[format thousands 10.2f][Price][/format] [showif [Category]=Single Family Residential][include sfr.txt][/showif] [showif [Category]=Rural Residential][include rfr.txt][/showif] [showif [Category]=Rentals][include rentals.txt][/showif] [showif [Category]=Lots and Land][include lnl.txt][/showif] [showif [Category]=Commercial and Industrial][include cni.txt][/showif]