traport
asked on
CFLOCATION and anchors not working in IE7.
I am having an issue where my anchor is not carrying over in the URL. I need to use double pounds b/c I'm within a <cfoutput>. If I dump it, it is correctly populating. It's just NOT carrying over the file part in IE. (It works in Mozilla!) Has anyone run into this before?
<cflocation url = "../index.cfm?fuseaction=searchSubmit&pipe_id=#pipe_id#&type=solicitation&action=add&message=ERROR: You must enter a date. Please use the format mm/dd/yyyy.##solAdd_#pipe_id#">
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It makes a messsage to appear encypted that's all it do. otherwise there is no point of using it. Anyways its ur choice of using it or not..
Cheers
Cheers
> It makes a messsage to appear encypted
Yes, good point. If you base64() the message, a person cannot read it on the URL, if that's important to you, then use that function instead.
Still curious why you have to do this at all.. Why not submit the page to itself, that way the form fields stay intact and the user doesn't have to re-enter all their values.
Yes, good point. If you base64() the message, a person cannot read it on the URL, if that's important to you, then use that function instead.
Still curious why you have to do this at all.. Why not submit the page to itself, that way the form fields stay intact and the user doesn't have to re-enter all their values.
Yep That point is far too better rather than relocatig to another page and coming back..
You can pre-define the foirm values in
<cfparam name="username" default="">
and like others if you have ten form fields use the cfparam for all ten fields with diffrenet names and then refrence them in ur form fields like:
<input value="#username#">
do the processing in the same page and this way your purpose will be solved and user will not get frustated to enter the info again & again..
Here is a sample for ur:
Page.cfm
You can pre-define the foirm values in
<cfparam name="username" default="">
and like others if you have ten form fields use the cfparam for all ten fields with diffrenet names and then refrence them in ur form fields like:
<input value="#username#">
do the processing in the same page and this way your purpose will be solved and user will not get frustated to enter the info again & again..
Here is a sample for ur:
Page.cfm
ASKER
Sorry I took so long to come back here. Thank you both for your help. I inherited this mess, unfortunately, and don't have time in the scope of the project to do what would be best for it - I just need to make it work. It was the hash marks causing an error and your suggestions helped immensely.
Instead of converting to base 64, you can just use URLencodedFOrmat()
That's what it's for, making the string available for the URL, then you don't have to do any decoding on the other end.
Of course, I am wondering why you need to pass an error message on the URL at all...