Re: Forms Search Questions

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11423
interpreted = N
texte = >>*1) How to let the user specify a result page when initiating a >>configurable search from a webpage. >> >>I've tried the following which doesn't work: >> >>
>>View the results with: >> >> >> >> >> >> >>etc. >> >>(Maybe ACTION can't be moved out of the FORM tag like this?) >>Two separate SUBMIT buttons would be okay, but how to do that without >>repeating the 4 search options on the forms? > >Use *one* results.tmpl, and use [SHOWIF] for showing the right part for the >choice made by you client.And if you have a lot of different results form choices, you can make your site easier to manage when you use [include resultsXXX] tags within those showif contexts on your 'results.tmpl'. Your 'results.tmpl' will have a bunch of choices like the ones below:[showif [pageFormat]=1] [include results1] [/showif][showif [pageFormat]=2] [include results2] [/showif][showif [pageFormat]=3] [include results3] [/showif]This 'results.tmpl' gets the value of the [pageFormat] variable from the choices you gave on the search page. Using [include] makes it easier to see what you're doing as a webmaster, because each resultsXXX file is an individual text file.You can even let your users create their own custom results pages using this technique ... which really lets them see your data in the way THEY want to see it. :)Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Forms Search Questions (Grant Hulbert 1997)
  2. Re: Forms Search Questions (Kenneth Grome 1997)
  3. Re: Forms Search Questions (Jacques VERNAY 1997)
  4. Re: Forms Search Questions (Christer Olsson 1997)
  5. Re: Forms Search Questions (Christer Olsson 1997)
  6. Re: Forms Search Questions (Kenneth Grome 1997)
  7. Forms Search Questions (Richard Shapiro 1997)
>>*1) How to let the user specify a result page when initiating a >>configurable search from a webpage. >> >>I've tried the following which doesn't work: >> >> >>View the results with: >> >>[cart]> >> >> >> >> >>etc. >> >>(Maybe ACTION can't be moved out of the FORM tag like this?) >>Two separate SUBMIT buttons would be okay, but how to do that without >>repeating the 4 search options on the forms? > >Use *one* results.tmpl, and use [showif] for showing the right part for the >choice made by you client.And if you have a lot of different results form choices, you can make your site easier to manage when you use [include resultsXXX] tags within those showif contexts on your 'results.tmpl'. Your 'results.tmpl' will have a bunch of choices like the ones below:[showif [pageFormat]=1] [include results1] [/showif][showif [pageFormat]=2] [include results2] [/showif][showif [pageFormat]=3] [include results3] [/showif]This 'results.tmpl' gets the value of the [pageFormat] variable from the choices you gave on the search page. Using [include] makes it easier to see what you're doing as a webmaster, because each resultsXXX file is an individual text file.You can even let your users create their own custom results pages using this technique ... which really lets them see your data in the way THEY want to see it. :)Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Kenneth Grome

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:

combine search (1998) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Change Subtotal (2000) emails sent via WebDNA 6.0a disappearing into thin air (2005) Parameter vs. Operator (1998) [WebDNA] Update on WebDNA? (2011) PCS Frames (1997) Need relative path explanation (1997) flash-wc (2000) Formating found categories (1997) Configuration Q (1998) sendmail spaces (1997) How would I? (2000) Sample Tearoom Search Error (1998) Quitting WebMerchant ? (1997) synching databases on multiple servers (1997) Looking up two prices in database? (1997) WebDNA Solutions ... sorry! (1997) [WebDNA] Bug in [thisurlplusget] on v7 (2011) test (1999)