Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<cfoutput> tag shows up in link

Status
Not open for further replies.

mrsbean

Technical User
Jul 14, 2004
203
US
The following code returns the following link:


I've never seen this before. The <cfoutput> tag shouldn't be showing up in the string. How can I get rid of it?

Code:
<h3>record has been updated</h3>
<a href="index.cfm?template=specs_edit_list_1&form_spec_id=<cfoutput>#form_spec_id#</cfoutput>">
Edit More ...
</a>


MrsBean
 
Nevermind ... solved my own problem. In the form before this one, it passed a value, form_spec_id. I had used cfform instead of form to create the form and pass the variables. I forgot that in that case, I didn't need to use cfoutput ... could just type value="#form_spec_id#", so when form_spec_id was passed to this form, it included cfoutput tags.

MrsBean
 
Move it:
Code:
<h3>record has been updated</h3>
[red]<cfoutput>[/red]
<a href="index.cfm?template=specs_edit_list_1&form_spec_id=#form_spec_id#">
Edit More ...
</a>
[red]</cfoutput>[/red]

Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Sorry, posted at the same time. Glad you fixed it, though.


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top