spacemonkey125
Programmer
Hi All
I'm trying to work out how to use a named anchor to go to a specified position on a page using CFLOCATION.
I submit a form, which is processed by another page, which in turn uses CFLOCATION to go back to the form page, showing the updated information. However, the form is some way down the page, so the user has to scroll back down again to see their updated information. I am carrying across a number of variables in the URL.
Here is my CFLOCATION tag:
Using this URL, I am correctly sent back to my form page, but the bookmark is ignored.
Having the "&" before the bookmark looks a bit dodgy to me, but omitting it doesn't work, because the bookmark is then appended to the preceding variable, causing an error. You can't put the bookmark before the variable string either.
This seems like such a simple thing - what am I doing wrong?!
Thanks in advance for your help
Mel
ICQ:61711207
I'm trying to work out how to use a named anchor to go to a specified position on a page using CFLOCATION.
I submit a form, which is processed by another page, which in turn uses CFLOCATION to go back to the form page, showing the updated information. However, the form is some way down the page, so the user has to scroll back down again to see their updated information. I am carrying across a number of variables in the URL.
Here is my CFLOCATION tag:
Code:
<cflocation url="index.cfm?fuseaction=carlist&brand=#brand#&cartype=#cartype#&##carform" addtoken="No">
Using this URL, I am correctly sent back to my form page, but the bookmark is ignored.
Having the "&" before the bookmark looks a bit dodgy to me, but omitting it doesn't work, because the bookmark is then appended to the preceding variable, causing an error. You can't put the bookmark before the variable string either.
This seems like such a simple thing - what am I doing wrong?!
Thanks in advance for your help
Mel
ICQ:61711207