Solved

Capture a selected value from dynamically populated cfselect

Posted on 2010-08-13
1
248 Views
Last Modified: 2012-06-21
Thank you for helping me out with populating the list using ajax.

Now, when I save the form, I need to capture the name I selected from this dynamically populated cfselect and show a custom message on the screen. The message is  something like:

'Your request has been sent to <Requested User>'.

Please help.

Thank you
Sharath
0
Comment
Question by:sshivanna
1 Comment
 
LVL 52

Accepted Solution

by:
_agx_ earned 125 total points
ID: 33434091
>>  <cfselect name="getManagers" id="getManagers">

When the form is submitted, the selected list item will be available as the variable #FORM.getManagers#.  So just use that variable within a cfoutput

ie
<cfoutput>
Your request has been sent to #FORM.getManagers#
</cfoutput>
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question