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, 10: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, 05: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
  #3  
Old March 11th, 2010, 03:36 PM
millau millau is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2010
Posts: 1 millau User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 46 sec
Reputation Power: 0
anchor

When I use the anchor in the action attribute of my form to reprocess it on itself as people have to click 2 buttons before the submit button, it works only when I click on that same button twice, but does not work the first time.

Do you ahve a clue about that?

Reply With Quote
Reply

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


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap