Re: FORMS: Returning a specific page

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11840
interpreted = N
texte = Michael Winston wrote: > > I'm trying to set up a form so that a person can choose (using radio > buttons) which page is returned to them when they hit the submit button. > So, if a person chooses the SCHEDULE button, the Sched.tmpl template is > served, and if they choose the GALLERY button, Gal.tmpl is served. > > > Any suggestions? This is going to be a pretty important feature of the site.My approach would be to use one template, with [ShowIf] commmands in the returned template:[ShowIf [Schedule]=y]SCHEDULE INFO[/ShowIf][ShowIf [Gallery]=y]GALLERY INFO[/ShowIf]-- Trevor Crist Production Manager Digital Frontier Stowe, Vermont http://www.digitalfrontier.com tcrist@digitalfrontier.com Associated Messages, from the most recent to the oldest:

    
  1. Re: FORMS: Returning a specific page (Trevor Crist 1997)
  2. Re: FORMS: Returning a specific page (Kenneth Grome 1997)
  3. FORMS: Returning a specific page (Michael Winston 1997)
Michael Winston wrote: > > I'm trying to set up a form so that a person can choose (using radio > buttons) which page is returned to them when they hit the submit button. > So, if a person chooses the SCHEDULE button, the Sched.tmpl template is > served, and if they choose the GALLERY button, Gal.tmpl is served. > > > Any suggestions? This is going to be a pretty important feature of the site.My approach would be to use one template, with [showif] commmands in the returned template:[ShowIf [Schedule]=y]SCHEDULE INFO[/ShowIf][ShowIf [Gallery]=y]GALLERY INFO[/ShowIf]-- Trevor Crist Production Manager Digital Frontier Stowe, Vermont http://www.digitalfrontier.com tcrist@digitalfrontier.com Trevor Crist

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:

Removing username from browser (2000) Search crashing server (1998) sort without the or a (1998) all records returned. (1997) weird G3 happenings (1998) [Sum] function? (1997) Nav. 4 probs with cart - Serious problem (1997) passing variables - problem (1997) Trouble with formula.db + more explanation (1997) [UPPERCASE] (1997) Some Advise needed (1997) [include] affect on filepaths for links? (1997) [OT] Indexing of dynamic web sites (2003) Buying sans cart (1997) Bug? (1997) timing out? (1997) Bug alert! (1997) View order not right (1997) WebDNA 5 - Privacy Issue (Built in sniffer) (2003) can webcat trigger executable files? (2000)