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:

Version f1 status (1997) Cancel Subscription (1996) [WebDNA] Forum using Webdna (2009) BUG in [showif] using ^ (contains) (1997) More help for discount pricing (1998) [WebDNA] Major grep/convertchars linux issues when writing to db (2010) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) SSL/Document Contains NO Data (1998) Question re: FlushDatabases (1997) hyperlinking unique input strings on the fly when displaying in HTML (2000) Show first 50 characters (2005) Extended [ConvertChars] (1997) Emailer setup (1997) Show if time tags (1997) RE: extended ASCII with middle command (1999) login via cookies (2006) domain in cookie (2006) StoreBuilder (retitled) (2002) How does WebCatalog search the database? (1997) Separate SSL Server (1997)