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:

Sorry WebDNA server not running (2002) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Cancel Subscription (1996) Calculating multiple shipping... (1997) I'm new be kind (1997) Summing fields (1997) emailer (1997) dos performance (1998) [SHOWIF] (1997) F3 crashing server (1997) How to verify email address (1997) [OT] Discussion forum, last visit, Cookie, ... (2003) Different Email recipients? (1998) Date/Time format problems (1997) Download capabilities (1997) [WebDNA] grep question (2009) Table Loop Hoops (2000) netstat -a on downed server (2004) Problems getting parameters passed into email. (1997) PCS Frames (1997)