Re: Creating a back button

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24095
interpreted = N
texte = >Or you could just use the [referrer] command that's built into webcatalog...Okay ... let's get back to the original point:The *original* question asked if it's possible to create a Back button on the page that would re-populate a form on the previous page with the same values it had when you left it. Therefore, because the original question had the specific requirement of filling in the form fields again, referrer will NOT work ...Referrer will not work with method=post at all, and it will not work with method=get either ... unless you do a lot of extra work, including putting the correct webdna into the form page that makes each field accept the form variables 'passed into' the page.Basically you have to create a form that makes sure NOTHING gets filled in when coming from the previous page, and yet it fills in all the appropriate field values when coming from the following page.It is possible to do this entirely in webdna, but you won't be able to use a simple [referrer] tag, there's more to it than that. The easiest solution I've seen yet -- besides simply tell visitors to use their browser's Back button -- is to use the javaScript example posted earlier in this thread. That is, if you don't mind relying on JavaScript ...By the way, [referrer] is a tag, not a command ... :) Sincerely, Kenneth Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
  1. Re: Creating a back button (Kenneth Grome 1999)
  2. Re: Creating a back button (Paul Uttermohlen 1999)
  3. Re: Creating a back button (Brian B. Burton 1999)
  4. Re: Creating a back button (Chris Drummonds 1999)
  5. Re: Creating a back button (Dennis J. Bonsall, Jr. 1999)
  6. Re: Creating a back button (Kenneth Grome 1999)
  7. Re: Creating a back button (Dennis J. Bonsall, Jr. 1999)
  8. Re: Creating a back button (Kenneth Grome 1999)
  9. Creating a back button (Kevin Furuta 1999)
  10. Re: Creating a back button (John Jakovich 1999)
>Or you could just use the [referrer] command that's built into webcatalog...Okay ... let's get back to the original point:The *original* question asked if it's possible to create a Back button on the page that would re-populate a form on the previous page with the same values it had when you left it. Therefore, because the original question had the specific requirement of filling in the form fields again, referrer will NOT work ...Referrer will not work with method=post at all, and it will not work with method=get either ... unless you do a lot of extra work, including putting the correct webdna into the form page that makes each field accept the form variables 'passed into' the page.Basically you have to create a form that makes sure NOTHING gets filled in when coming from the previous page, and yet it fills in all the appropriate field values when coming from the following page.It is possible to do this entirely in webdna, but you won't be able to use a simple [referrer] tag, there's more to it than that. The easiest solution I've seen yet -- besides simply tell visitors to use their browser's Back button -- is to use the javaScript example posted earlier in this thread. That is, if you don't mind relying on JavaScript ...By the way, [referrer] is a tag, not a command ... :) Sincerely, Kenneth Grome WebDNA Consultant 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:

Bulk Email >>>>Any ideas? (2001) Filemaker Pro Template for Orders (1999) ShowNext (1997) [object] Tag & WebDNA Support (2005) shipcost (1997) Generating Report Totals (1997) Question about replacing words (1998) Re:[off] Promotions Co? (1997) Null Characters (2005) Forms Search Questions (1997) [WebDNA] Send results to more pages? (2011) Searchable WebCat (etc.) Docs ? (1997) Note added to [sendmail] in Docs (2004) CommandSecurity? (1997) Help! WebCat2 bug (1997) Signal Raised (1997) Sub Totals (2000) Preventing Safari caching (2003) formatting a number (1999) Hard Questions ? (1997)