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 webform, 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 showingafter:
T Single Family Residential | The above...T comes from form variable [Searching] and Single FamilyResidential comes from form variable [Category]. Can someone see an errorin the following original code?? I've been looking at it for a while andcan't figure out what the problem is. Is it impossible to use one or theother search command based on the [showif]/[hideif] form variables? Theoriginal code is as follows: [Searching] [Category] | [showif [Searching]=T] [search db=listings.txt&eqCategorydatarq=[Category]] [/showif] [hideif [Searching]=T] [searchdb=listings.txt&eqOfficedatarq=[Office]&eqCategorydatarq=[Category]&Pricesort&Pricesdir=de&Pricetype=num&max=5] [/hideif] [founditems]
$[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] |
[/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:
Please help!! The problem is this...after posting to a template via webform, 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 showingafter: T Single Family Residential | The above...T comes from form variable [Searching] and Single FamilyResidential comes from form variable [Category]. Can someone see an errorin the following original code?? I've been looking at it for a while andcan't figure out what the problem is. Is it impossible to use one or theother search command based on the [showif]/[hideif] form variables? Theoriginal code is as follows: