Thanks and more help please?
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38011
interpreted = N
texte = Thanks, Scott. I got past the error message but now NOTHING is beingdisplayed? It seems like it is trying to go through the [then] block insteadof the [else] block. I am just going straight to the page with no form andno variables. Any idea what's wrong?
Web Catalog Search[if [action]=search][then][character]=[GetChars start=1&end=1][code][/Getchars][if[character]=1|[character]=2|[character]=3|[character]=4|[character]=5|[character]=6|[character]=7|[character]=8|[character]=9|[character]=0] [then] [number]=[countchars][code][/countchars] [if [number]=5] [then] [searchcode=Zipcode] [/then] [else] [searchcode=Telenum] [/else] [/if] [/then] [else] [searchcode=City] [/else][/if][if [type]=name] [then] [search db=ohiostate.db&bw[searchcode]data=[code]&eqCompanydata=[search]] [/then] [else] [search db=ohiostate.db&bw[searchcode]data=[code]&woSection_headdata=[search]] [/else][/if]Found [numfound] matches.
[founditems]
[company]
[section_head]
[if [telenum]!] [then] [telenum]
[/then][/if]Name: [if [first_name]=] [then] Not Given [/then] [else] [first_name] [last_name]
[/else][/if][address]
[city], [state] [zipcode]
Employees: [no_of_employees]
[/founditems][/search][/then][else]
[/else][/if]Also, how can I set a variable to the GetChars tag? Is how I'm doing itright?JeffThanks,Jeffcoopa2004@aol.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks, Scott. I got past the error message but now NOTHING is beingdisplayed? It seems like it is trying to go through the [then] block insteadof the [else] block. I am just going straight to the page with no form andno variables. Any idea what's wrong?Web Catalog Search[if [action]=search][then][character]=[GetChars start=1&end=1][code][/Getchars][if[character]=1|[character]=2|[character]=3|[character]=4|[character]=5|[character]=6|[character]=7|[character]=8|[character]=9|[character]=0] [then] [number]=[countchars][code][/countchars] [if [number]=5] [then] [searchcode=Zipcode] [/then] [else] [searchcode=Telenum] [/else] [/if] [/then] [else] [searchcode=City] [/else][/if][if [type]=name] [then] [search db=ohiostate.db&bw[searchcode]data=[code]&eqCompanydata=[search]] [/then] [else] [search db=ohiostate.db&bw[searchcode]data=[code]&woSection_headdata=[search]] [/else][/if]Found [numfound] matches.
[founditems]
[company]
[section_head]
[if [telenum]!] [then] [telenum]
[/then][/if]Name: [if [first_name]=] [then] Not Given [/then] [else] [first_name] [last_name]
[/else][/if][address]
[city], [state] [zipcode]
Employees: [no_of_employees]
[/founditems][/search][/then][else][/else][/if]Also, how can I set a variable to the GetChars tag? Is how I'm doing itright?JeffThanks,Jeffcoopa2004@aol.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://search.smithmicro.com/
Ron Parker
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:
vs (1997)
[searchString] (1997)
Bug Report, maybe (1997)
Mac Lockup Problems (1998)
WebCatalog f2 Installation (1997)
html delivery (1997)
Cart Creation (2003)
WebCatalog Plug-in for Webstar. (1997)
tabs as delimiters (2004)
[WebDNA] read database from other domain (2015)
Discount solution? (1998)
Realtor Search (2000)
Showing unopened cart (1997)
&FieldNametype=time unnecessary? (2000)
Slightly off-topic hits to purchase ratio? (1999)
.hdr files (2004)
WebCat2 - storing unformatted date data? (1997)
emailer and other smtp (1998)
Sorting by date (1997)
Error handling for accountNum (1997)