Cold Fusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingCold Fusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 14th, 2004, 09:03 PM
ShadowByte ShadowByte is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 ShadowByte User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Adding Anchors in Cold Fusion

Ok I'm new to Cold Fusion so I have much to learn.

At the moment I want to be able to add an Anchor (or Bookmark) to a Form ACTION field on a Cold Fusion page. In a normal HTML URL the anchor is denoted by the number (#) sign. But adding this in the Form URL causes Cold Fusion to parse this string as a variable of some sort and this throws and ERROR message when the page is processed.

So, if any guru out there can help. I'd like to be able to add an anchor in a Form on a Cold Fusion page. How can I go about doing this?

ShadowByte

Reply With Quote
  #2  
Old February 9th, 2004, 04:02 PM
ShadowByte ShadowByte is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 ShadowByte User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Answer

In case anyone is interested in the answer. To add a "#" in a URL string parsed by the Cold Fusion engine you need to use two (2) number signs side by side.

Ex:
<FORM ACTION="Index.cfm##VotingPoll" METHOD="post" NAME="NextPoll">

where "VotingPoll" is the Anchor/Bookmark you are refering to.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingCold Fusion Development > Adding Anchors in Cold Fusion


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway