Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Call Function Through User Request
kvarnerexpress
post Jun 8 2005, 09:31 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



I am sure that this question is asked all of the time, but I didn't find it when I searched.

How can I have a user push a link, or button, and then have a Coldfusion function recieve the call?

For example, I have a form which has a variable number of records, each that I wan to be able to print a blow-up of.

So, the user pushes button or link, "print" and I will loop through each record, sending it to a page that will format and print it.

Any help is much appreciated.
Go to the top of the page
 
+Quote Post
mcfly
post Nov 4 2005, 04:16 AM
Post #2


Newbie [Level 1]
*

Group: Members
Posts: 15
Joined: 4-November 05
Member No.: 13,784



This might be kind of an overly-obvious, brute-force approach, but could you not simply pass a list from the form to the function on the action page? That is, the function accepts the list as a parameter (and I specify a list because on the face of it, a list seems the most likely structure to use in a case like this...though I could be wrong).

But if you're looking for a way for a CF function to actually accept the click event...I'm not sure that's possible. The function can, I beleive, only receive data as a result of an event.

Maybe I'm not understanding your question correctly...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Free Windowsxp Sp2 Cd From Microsoft(12)
  2. Simple Login In Visual Basic 6(6)
  3. Call Pdf995 From Java(0)
  4. PHP Function To Add Previous and Next Page Feature(0)
  5. Sig Request(1)
  6. Sig Request! [denied](1)
  7. [request] Gimp Tutorial For Watermarking Pictures(2)
  8. Free Web Hosting Request [denied](1)
  9. Free Web Hosting Application [screened] [approved](6)
  10. My Hosting Request Email... [resolved](3)
  11. *** Click Here To Get Your Free Hosting ***(1)
  12. Call Of Duty 4 Clan(ps3)(7)
  13. Integrity Checks Failing During Multiple Ajax Request(1)
  14. Free Web Hosting Account Request [denied](1)
  15. I Have Install Windows 2003 Server(4)
  1. Should I Call Him(28)
  2. User Name(0)
  3. My Free Hosting Account Request(3)
  4. Why Has Everyone Ignored My Free Hosting Request?(7)
  5. Call Of Duty 4 - Im Looking For A Clan.. (ps3)(1)
  6. Sig Request(3)
  7. Problems?!(1)
  8. Call Of Duty 4 Pc - Patch 1.6 + New Maps(5)
  9. Giese Call(0)
  10. How To Get New Ip Address(12)
  11. Call Of Duty 4(8)
  12. Sig Request- .:piper_2051:. [denied](1)
  13. Will I Run Cod4?(10)
  14. Free Web Hosting Request [screened] [approved](2)
  15. Call Of Duty(22)


 



- Lo-Fi Version Time is now: 26th July 2008 - 02:05 PM