May 16, 2008

Call Function Through User Request

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > ColdFusion Programming

free web hosting

Call Function Through User Request

kvarnerexpress
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.

Reply

mcfly
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...

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : call, function, user, request

  1. Call Of Duty 4 - Im Looking For A Clan.. (ps3)
    (0)
  2. Request Sig [denied]
    Zab Ylurt (1)
    Size: width 400 in pixels - and height 150 in pixels Theme: i want the background to be sort of like
    water, a wet effect.. Render: no Render Theme: umm no Color: light blue (water blue color), some
    pink Text: Yes. i want it to say Krondorsgirl in a nice glowing effect Other effects: no....
  3. Banner Request
    by demonlord (1)
    Size: 842x84 or 740x84 Theme: Grunge, Abstract, etc. Render: no Render Theme: n/a Color: any color
    that will fit in with my site Text: Yes Dark Zone 3 in big text and www.darkzone3.net some where in
    small text Other effects: any thing that you think would look good basicly i'm looking for a
    new banner to fit in with the new look of my site. my site address is http://darkzone3.net ....
  4. Banner Request
    by alexpriest (2)
    Size: 150x900 Theme: Light with excitement Render: Yes please Render Theme: Gaming - Call of Duty 4
    Color: Red, White and Blue Text: Line 1 - United Kingdom Fighting Force Line 2 - Singularly
    We Are Strong, Together We Are United Other effects: Maybe an explosion effect in the corner Other
    info: IBasically we are a call of duty 4 clan, and need a banner for our site. Our tag is and we
    are based in the united kingdom. Therefore red, white and blue are the colours of priority. Any
    other info needed please just pm me and i'd be happy to help with the process.....
  5. Call Of Duty 4 Clan(ps3)
    (0)
    Hi guys i finally made my own COD4 clan but it doesn't have a forums yet and it only for level
    35+(sorry) i made this because i and 14 other friend of mine play COD4 on the PS3 except 1 and its
    called Fast as we move fast, think fast, and act fast. i want all PS3 COD4 players lvl 35+ to join
    because if you didn't hear there is going to be a clan wars and the best wins(they win the best
    players of COD4) and im lvl 55 and i change my sigh 2 times the other people are lvl 40+ change
    their sigh onces i want you to join and help out please pm me if u want to join i ....
  6. Request Dota Cheat
    (0)
    Request Dota cheat....
  7. Sig Request
    by Nick5020 (3)
    Size: 350x150 Theme: Grunge Render: Yes Render Theme: CounterStrike Color: Black/Blue
    Text: Nick Other effects: None Thanks in Advance....
  8. Sig Request [denied]
    by Nick5020 (2)
    Size : 350x150 Theme : Grunge Render : Yes Render Theme : CounterStrike Color : Black/Blue
    Text : Nick Other effect s: None Thanks in Advance /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" />....
  9. Request [denied]
    Domain Request (1)
    To generate an application for free web hosting please click here: Free Web Hosting
    Request Form I would like to request free web hosting from Trap17. Please find my application
    below. Your Registered Domain Name or Desired Trap17 Subdomain Name: gamezhero.com
    Account Username: zHeroes Introduction: Hi, I'm John Mclain, I'm from
    South Africa and I'm 23 years old. My hobbies are: webpage building, java programming,
    collecting pc's and skateboarding. My interests are obviously computers, haha, i work on them....
  10. Banner Request
    Thank you for your time (1)
    I'm just looking for a banner/logo for a Christian Band. Any help is greatly appreciated.
    Size: Somewhere around 700x200. It's for the top of my website, whatever you think is best.
    Theme: a cross in the background with the band name in front or something like that Color: nothing
    specific but the website has a black background with some blue Text: Grace Other effects: I
    really don't have something specific in mind, just a general idea, add your own touch i'm
    sure i'll like it. =)....
  11. Get User Info True Sessions Or Cookies
    need help on this (0)
    i have mysql databse with user info what i want to to do is if a user klicks on view my profile he
    has to see his profile (if he is logged in)so that he kan change some info like email etc. and when
    a user kliks on: view all profiles he has to see a list of users which are links and when he kliks
    on it he goes to the profile of that user. i searched the web but didn't find an snippet or
    tutorial. sooooo does anyone has a code snippet or tutorial ??? thx in advance ....
  12. How To Make A Double-voice Effect
    DVS, I call it. (1)
    Here, I'm going to teach you how to do an effect that changes a voice so that it sounds like it
    has two different pitches. (I call this the "Double-Voice Effect", or DVE.) You may have seen this
    effect in use before, in a movie or two. I first saw it on a Japanese TV show that I happened to
    find on Youtube, part of the "Rockman.EXE" series. This effect may not be desired in some cases.
    Step 1: Get an audio editor And an advanced one, not one of the crappy ones like T-Player. I mean
    one like Audacity or Rezound. Adobe Audition may be overkill, but you can do some ex....
  13. Review Request
    (4)
    Ok, well... again... I would like to request a review from you guys... http://2kart.trap17.com
    Last time I posted a review, you helped me to fix all the bugs... but I don't think that the
    design in general was reall helped out too much. So this time, could you please post your
    suggestions on the design... I don't plan on completely re-doing the design or the color scheme.
    However, if you think that I should style headings differently etc. please feel free to share... I
    am happy with the general design, but I need to fine tune it... so your input would be grea....
  14. Call Of Duty 4 - No Multiplayer Achievements?
    (4)
    How come theres no multiplayer achievements in Call of Duty 4? This kinda makes me upset. I mean,
    Halo 3 has horrible achievements, but it makes it more fun when their online. Don't get me
    wrong, call of duty 4 is a GREAT game, but the multiplayer achievements not being existant turns me
    off a little bit. Also theres no co-op missions? This also kinda makes me sad......
  15. Call Of Duty 4
    This is my info about Cod4 (5)
    My Cod4 Review I picked up COD4 kinda hoping for something not like COD and COD2. Both
    previous encounters with the COD franchise were very enjoyable indeed, but the element of a cohesive
    storyline was missing. You were bounced between Russian, English, and American campaigns trying to
    follow each smaller storyline to the end. Boy was I pleasantly surprised with COD4. Blown away is
    more like it. The plot of the game was very well done. The 2 story lines seemed to be going in 2
    different directions at first, but later on you can see the 2 slowly merging in t....
  16. Will I Run Cod4?
    Will my computer be able to run call of duty 4? (8)
    Hi everyone! Should I buy COD4? My specs are: 1GB Ram 1.86GHZ Dual Core AMD Turion 64 X2
    Nvidia Go 6100 Windows XP/Windows Vista (Dual Boot) I can currently get a constant 75FPS on COD2, I
    have adjusted my Graphics card for performance. Will I be able to run it, even on lowest settings.
    I want to get it, to play with my friends! Thanks for your help. Cheers!....
  17. Call Of Duty 3 (waste Of My Money)
    Why call of duty 2 is better then 3 (11)
    From my point of view, i was upset with call of duty 3. I thought call of duty 2 was much better,
    but that's just my opinion. Call of duty 3 was good but i thought it would be better. And to
    think i traded in call of duty 2 today cause i didn't play it any more.....
  18. How To Get New Ip Address
    Request a new IP address from your ISP server. (6)
    Request a new IP address from your ISP server Here's how to do it in windows Sorry for all
    you MAC user's /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
    Step 1, Click Start step 2, Click run step 3, In the run box type cmd.exe and click OK step 4,
    When the command prompt opens type the following.PRESS ENTER after each new line. ipconfig
    /flushdns *Press enter * ipconfig /release *Press enter * ipconfig /renew *Press enter * exit *press
    enter * If you pplz are still have mess ups with this ill make a video TUT .. or if you....
  19. How Good Is This Data Cleaning Function?
    (2)
    Hi all, this is my first function and as part of a script and i just want to know a couple of
    things. here is the code for the function: CODE <? function
    clean($dirty_string) { $muddy_string = stripslashes($dirty_string);
    $murky_string = strip_tags($muddy_string); $clean_string =
    htmlentities($murky_string);      }; ?> So the first thing is how secure is
    it? the script this will be used in connects to a database and sends an email so it needs to stop
    SQL injections and any email ab....
  20. Free Banner Request
    need banner, what you can do? (5)
    Hi to all! Well last five days i have been creating my banner but somehow i dont like results.
    i dont think they are really good so i usually get disapointed. hopefully someone will help me. Well
    i want to see can you solve this problem. i wont tell you how does it have to look, becuse i want
    you to create it on your own. Site is about music;guitars,rock and etc. fell free to use renders or
    anything you like. just make it nice( i know you can). the only things that must be are: banner
    size: 635x150 banner text: "AllSounds" sub text: "Enjoy creating the music" ....
  21. Introduction
    New user can introduce here (5)
    Hi My name is shane richards,MY interest only lies in webhosting. Anyone who wishes to introduce
    can do so in this thread. /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> ....
  22. Flatfile User Login/signup
    Uses text files only (compatable with forums and message system) (23)
    With this tutorial, you will learn how to create a textfile login script. This user membership
    script is for use also with my forums and message system scripts. I will also give you the scripts
    to make it so that people can change their profiles. Ok, The first thing we need to do is make the
    database. To do this, create a blank text file called 'userdata.txt' , make sure it is ALL
    LOWER-CASE. Edit this file and put
    '**username|##|password|##|email|##|rank|##|userid|##|name|##|picture**'. This will not be
    used, however it will give you an idea of how the....
  23. Call Of Duty 2 Weapons Guide
    (7)
    American Thompson(fully automatic) - This gun is good for medium to close range combat, you can
    hit people far away but you will usually waste your time. The 20 round magazine and high rate of
    fire make it good if you have a good lock on the enemy, otherwise you leave yourself open when it
    reloads. M1 Garand(semi-automatic) - Great gun, two hits in chest and it will kill. Not good for
    close range but it is still fairly effective due to it being semi-automatic. It has 8 rounds in a
    clip. When you have only a few rounds left before reloading, just shoot them into the gr....
  24. Include File.php?id=something
    using the include() function (13)
    Well, I am making a full CMS system for my site, and want to make the index.php file to include the
    view.php?id=1 file. I tried with this code, but it didn't work: CODE <?php include
    'view.php?id=1' ?> This is the error I get: CODE Warning:
    main(view.php?id=1) [function.main]: failed to open stream: Invalid argument
    in C:\server\xampp\htdocs\test\index.php on line 1 Warning:
    main() [function.include]: Failed opening 'view.php?id=1' for inclusion
    (i....
  25. Call Of Duty Tips And Tricks
    For both origional and sequal (4)
    Hello all you CoD fans, newbs, and players. My name is Mitch, but you will most likely see me as
    (_8(|) when I play Call of Duty online. For those who can't see/read ASCII Art, my monogram is
    Homer Simpson in ASCII. Anyways, I plan to give you guys this little tutorial/booklet that will
    allow you to play at your absolute best! Guaranteed. You will up your KD ratio by at least 3
    times. But first a little history about myself. I origionally bought CoD1 (yes the origional) in
    late 2004 from a pool fund for a LAN party. None of my friends had CoD but we wanted....
  26. Xbox User To Sue Microsoft
    (24)
    http://news.yahoo.com/s/nm/20051205/tc_nm/media_xbox_dc . all i have to say is ahahahahaha i knew
    it was to good to be true about the xbox 360 ahahahaha. why do you think sony makes good products
    they take their time to make sure its not defective unlike microsoft when all they do is want to
    make more money buy selling a crap system.....
  27. Call Cookie Functions In Iframe
    (2)
    I have got a page with an iframe. The iframe contains the cookie functions. How do I access the
    cookie functions from the iframe? When I do the following Common I get the error 'Expected
    identifier'. What is the solution? ....
  28. Call Of Duty
    (21)
    Who knows where from mighty download Call Of Duty Full Internet online version ? I ask or you know
    or some way is? /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> ....
  29. Free Windowsxp Sp2 Cd From Microsoft
    just fill the request form and recive it (10)
    microsoft offer 100% free windows xp sp2. just go to this link
    http://www.microsoft.com/windowsxp/downloa...us/default.mspx and fill your address they will send
    you the cd to you. I just recive the cd yesterday. /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> I see new feature like directx 9c , WMP9 ,
    firewall , and the one I like is popup blocker! /wink.gif' border='0'
    style='vertical-align:middle' alt='wink.gif' /> PS. waiting for the cd about 1-2 week if you
    write an exact address.....
  30. Call of duty clans
    Any one have one? (26)
    Does any one have a COD clan???? I havnt seen many. If so list it /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....

    1. Looking for call, function, user, request

Searching Video's for call, function, user, request
advertisement



Call Function Through User Request



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE