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:

WebCat2 beta 11 - new prefs ... (1997) ShowNext (1997) Auto Delete EmailCompleted Files (2002) [WebDNA] WebDNA glitch, no response required ... (2009) Mac System Experience (1998) WebMerchant 3.0? (1998) Mac: LModelDirector bug fix (1997) PIXO (1997) RE: Is there a 'does not contain' comparison? (1999) Search on encrypted field (2000) WebMerchant -- Sweeping WebDelivery < 24 hrs (2000) triggers.db (1999) Longhorn (2003) Support ?? (1997) Templates for Customer Database? (1997) Add a field to the error log? (1997) ReturnRaw and redirect (1997) I can help! (1996) Fw: Cookies, checking if's enabled... (2004) Strange behavior (2000)