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:

Search returns all, not 20 (1997) Tracking System? (1997) Question about replacing words (1998) Looking up two prices in database? (1997) WebDNA Windows 5.0 sendmail bug (2003) is there a [purchase]? (1998) server admin problems (2005) Size images (2002) Protect (1997) Running 2 two WebCatalog.acgi's (1996) [WebDNA] WebDNA and MAMP/Apache (Mac) (2018) PCS Customer submissions ? (1997) Colors in cart (2002) Security - 2 (1999) my price won't move (1997) WebCatalog NT beta 18 now available (1997) WebCat editing, SiteGuard & SiteEdit (1997) Limitations on fields? Server is crashing (1997) Re2: frames & carts (1997) Make sure I understand this??? (1997)