Allow multiple selections in 2nd box of cf_TwoSelectsRelated

Greetings. I'm very new to ColdFusion, so I apologize if this
seems like a no-brainer.
I've successfully used cf_TwoSelectsRelated to add related
selects to a form. I'm able to have a user select a school, and
have the second select box retrieve only the teachers that are from
that school. Now I'd like to allow multiple teachers to be selected
from the second list (to register for a workshop) and have them all
be inserted in my registration table as individual records.
I think I can figure out the second part of my task (insert
them as individual records) based on
Dan
Bracuk's answer to a query back in February. However, for the
first part (allow multiple selections in the second select list)
I'm not sure whether to:
a) try to edit the cf_TwoSelectsRelated custom tag (I think I
would need to know some JavaScript for that? yipe!)
or
b) do something to my existing code to allow the second
select to have multiple selections (but doesn't cf_select just
require that you specify in the attributes "multiple="true"? which
means I will probably need to edit the cf_TwoSelectsRelated custom
tag (back to *yipe*!)
Can anyone point me in the right direction? I've attached
cf_TwoSelectsRelated. Please let me know if you need me to supply
my code.
Thanks very much in advance.
Marianne

Dear Dan,
Thanks for this! Well, I went ahead and kept trying to figure
it out while I waited - I found and took a look at
cf_ThreeSelectsRelated and the third select box did indeed have a
"multiple" attribute - so I borrowed it and edited the
cf_TwoSelectsRelated (as attached - just added one line to the
attributes list and added one cfif to the cfoutput for the 2nd
select box), called it in the attributes of the
cf_TwoSelectsRelated tag call in my "add attendees" page - and it
seems to work great! No messing about with scary javascript needed.
*whew*
Now I just have to edit the code to allow it to insert each
set of id's as an individual record... but I think I can handle
that :)
Hopefully this will help someone who's wondering if this will
work. I couldn't find any reference to it anywhere!

Similar Messages

  • Multiple Selections in List Box

    Hello all. I am new to the Adobe Family and especially PDF designing, so please bear with me. I have gone through the Help section, and did searches on here to find an answer but have not had luck. I need to make a list box that the user chooses multiple choices. As in some forms that have if you hold down the CTRL button you can choose multiple choices. During my searches I keep finding coding lines. I'm not sure how to do coding at all, I'm using the Designer 7 template forms where I can choose the icon, and then go over to Object, Value, etc. Is what I want to do even possible with Designer 7? If so, how can I make this work. If not, what program would I need to use? Thank you in advance for your help!

    When I look at either a list box or a drop-down list and look at the "Field" tab I do not see a "Allow Multiple Selection" checkbox. I am using designer version 7.0.041126.0. Is it not supported in this version or am I missing something.
    Thanks

  • Choices - Checkboxes (allow multiple selections) Links

    Is there a way to make the below possible:
    This is with respect to Sharepoint 2010 list functionality
    I have a list with 7 choices 
    The type of choices is: Checkboxes (allow multiple selections)
    Is it possible to have links as the various choices as compared to plain text?
    Is there any other alternative to have links with multiple selection option which works like choices option in a list?
    Thanks,
    Abhilasha Thackur

    Hi,
    According to your post, my understanding is that you wanted to have links as the various choices as compared to plain text.
    There is no out of the box way to accomplish this with SharePoint.
    By design in SharePoint, the options in the Choice filed look like Single line of text type.
    To achieve what you want, you need to custom filed Type programmatically.
    More information:
    Walkthrough: Creating a Custom Field Type
    Creating Custom SharePoint 2010 Field Types
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create a parameter to allow multiple selection

    Hi,
    I am developing report in Oracle EBusiness suite. I use concurrent program to develop the report. My question is how to create a parameter to allow multiple selection for such kind of report?
    thanks
    Lei

    I dont think, we have multiple selection in the parameters of Concurrent Program :).

  • How to allow multiple selection of nodes in a JTree

    How to allow multiple selection of nodes in a JTree ?
    Thanks
    S.Satish

    By default when you create new instance og JTree the selection model is multiple selection. And if you want to change it you use next:
    tee.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
    or
    tree.getSelectionModel().setSelectionMode(TreeSelectionModel.CONTIGUOUS_TREE_SELECTION);
    or
    tree.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
    Hope will help!

  • Error On Selection Cardinality doesnot allow multiple selection

    Hi All,
    Every one... Am new to SAP am learning WebDynpro Java..
    Now am working on Multiple selection on a table But it is giving Error
    Like:
    Failed to Process reques. Please Contact Your System Administrator.
    Root Case is :
    com.sap.tc.webdynpro.progmodel.ContextException Node (....) Selection Cardinality doesnot allow multiple selection ....
    Please Help Me..

    Hi Ramesh,
    please check the property of the node which you are using.
    check the Cardinality  property, for multi select it must be 0.n or 1 . n.
    Hope thiw will help
    Regards
    Narendra

  • Derived Column : for Lookup type column with 'Allow Multiple Selection' : True in sharepoint list

    Hello,
    I have one column where field type is Lookup but 'Allow Multiple Selection' is true in SharePoint List.
    So, in this scenario data from the SharePoint list is being exported as below.
    1;#Red;#3;#Blue;#4;#Black;#5;#Green
    Now resultant text exported to SQL Table should be :
    1,3,4,5
    OR
    Red,Blue,Black,Green
    Either way it is fine. How can we get this using Derived Column and Data Conversion?
    I am able to do this for single occurrence using below expression.
    (DT_STR,100,1252)(SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1)))
    Please suggest.
    Thank you,
    Mittal.

    Your best bet would be to do this in sql using a string parsing udf as below
    http://visakhm.blogspot.com/2010/02/parsing-delimited-string.html
    You can make it into procedure and call it from oledb command task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Multiple Selection with JCombo Box

    I want to make a multiple - selection JComboBox enables the user to select many items from JComboBox and copy items from one JComboBox to another.How can I do this?

    Hello,
    ComboBoxModel allows only single selection. It's better to use a JList instead because it isnt worthwhile the effort to create another multi-selection model.
    regards,
    Tim

  • Multiple selection in combo box

    Hi,
    How to save the selected values (with multiple selection) in to the database from combo box. I made it as multiple selection box by selecting value true for attribute Multiple, but only one value is saving in to database. How to handle it.
    Regds,
    Sudhakar

    I 'll explain the requirement:
    I have three tables, for example employee, department and empDept table which contains empId and DeptId. In my jsp, while inserting employee i need to give all existing departments in combo with multiselect option. When user press submit, i need to insert one record in employee, and records in empDept with new empId and all selected Department ids. empId is dbsequence generation.
    (I did this through LOV mode of list binding editor. Even i select multiple values in JSP, its inserting only first selected record in to empDept table.)

  • Checkedlistbox allows multiple selections with Selection mode set to one

    I have a simple CheckedListBox with three options. I set Selection Mode to One. When I test the form, it allows me to have more than one box checked. I can clear the other two with a program, but my understanding of Selection Mode was that it would not
    allow more than one box to be checked if set on one.

    Option Strict On
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    CheckedListBox1.SelectionMode = SelectionMode.One
    For i = 1 To 10
    CheckedListBox1.Items.Add("Number" & i.ToString)
    Next
    End Sub
    Private Sub CheckedListBox1_ItemCheckChanged(sender As Object, e As ItemCheckEventArgs) Handles CheckedListBox1.ItemCheck
    Dim ItemIndex As Integer = e.Index
    For i = 0 To CheckedListBox1.Items.Count - 1
    If i <> ItemIndex Then
    CheckedListBox1.SetItemCheckState(i, CheckState.Unchecked)
    End If
    Next
    End Sub
    End Class
    La vida loca

  • Mail in iOS 7.0.4 will not allow multiple selections to delete/move etc.

    In the past week my iPhone 5S has started something that I can only discribe as a 'refresh' of the screen each time I attempt to select multiple emails to either delete or move to another location. What occurs is that once I touch 'edit' the circles appears, as they should, to the left of every message. However, once I select one and go to select the second the previous selection is 'unchecked'. If I try to go faster I am able to select 2, sometimes 3, messages before it unselects them. This is very frustrating to say the least. Additionally, the same time I noticed this issue I also began having some serious battery longevity issues. I'm talking 25% drain in less than an hour. I've done all the standard stuff to fix this - reset settings, DFU restore etc - and the problem persists. The only commonality that I can come up with was the upgrade to iOS 7.0.4, it was shortly after this upgrade that the symptoms began.
    HELP!!
    Thank you!

    In the past week my iPhone 5S has started something that I can only discribe as a 'refresh' of the screen each time I attempt to select multiple emails to either delete or move to another location. What occurs is that once I touch 'edit' the circles appears, as they should, to the left of every message. However, once I select one and go to select the second the previous selection is 'unchecked'. If I try to go faster I am able to select 2, sometimes 3, messages before it unselects them. This is very frustrating to say the least. Additionally, the same time I noticed this issue I also began having some serious battery longevity issues. I'm talking 25% drain in less than an hour. I've done all the standard stuff to fix this - reset settings, DFU restore etc - and the problem persists. The only commonality that I can come up with was the upgrade to iOS 7.0.4, it was shortly after this upgrade that the symptoms began.
    HELP!!
    Thank you!

  • List Box - Object  How do you get "allow multiple item selection" option to work?

    developing a fillable PDF form using livecycle. I have several list boxes that contain multiple text items. I have entered all items directly into the item list and I have selected "allow multiple selection". The object is committed on exit, All the binding options have been left on default settings. BUT when the form is tested it will not allow multiple selections. I cannot find anything in help to resolve this. CAN Someone help me. This is urgent!!!!!

    Dear Deb
    Thank you for your suggestion, but it does not appear to work. I used the alt key then my mouse to select, but it still only allows for 1 selection.  I do not see the sample you said you included, so I cannot check to see if I have a setting incorrect. If you have any other suggestions I would really appreciate it or if there is a way for you to look at the form, at this point I am open to any suggestions.

  • Multiple select options in 1 drop down box?

    Hi,
    I have created a form that works perfectly except for the fact that I need to provide multiple select options in the 1 drop down box; for example, I'm asking what product the customer is interested in and his answer could be multiple items such as Soap, Sanitizer, Hand Towels, Face Cloths etc...
    At the moment, the customer can only select 1 item not multiple.
    Is this possible?
    Thanks in advance for the help!

    Hi,
    It is not possible to allow the user to select multiple items in a dropdown list.
    You could use a list box, which does allow multiple selections.
    Good luck,
    Niall
    Assure Dynamics

  • Multiple selection in screen

    hi all,
    Is there any method to display multiple selection (single,ranges,...) (like select-options screen in report programming)  in dynpro screens (using screen designer).
    regards
    Jose

    Hi,
    In the screen text box properties in the DICT tab you can specify search Help, where u can allow multiple entries to the box.
    Cheers,
    Chandru

  • Multiple Selection in Search Result List in PCUI

    Hi,
    Our requirement is to allow creation of new records in list view of the PCUI application CRMM_ACCOUNT. I'm using old floor plan CRM 4.0 to meet this requirement. But this is causing a problem. It's not allowing multi select in the search result list (Event INIT, Screen Element SRMS). If I change the screen element to SRME, it allows multiple selection (thru selection checkboxes) but does not allow creation of new records in list view.
    Also, how to activate the multi-valued search on certain fields. I've already checked the "Multi-Value" check box for the relevant field.
    Any help on this will be much appreciated.
    Regards,
    Vishal

    a®s wrote:
    Hi,
    You can find lot of thread in this for forum for your query.
    example
    a®s
    Thanks ! it's helpful!   But my requirement is a little bit different. (Sorry I didn't make it clear)
    I created a table maintenance (SM30) for a table. The F4 Search help should be applied to a field of the table when a user creates a new entry. I hope it makes clear.
    btw: I have awarded some points! Because it's also good to know some other ways:)

Maybe you are looking for

  • How to delete the duplicate cards in ALUI

    Hi, How to delete the duplicate cards in knowledge directory Thanks & Regards Dheeraj Edited by: dheeraj on Sep 17, 2008 2:31 PM

  • Lightroom Crash on Import with CS3 installed

    The last two days, I have been importing fairly large shoots from CF cards with Lightroom (Yesterday 147, today 79). In both cases I have received the Adobe Photoshop Lightroom has encountered a problem and needs to close.." message; twice today. I i

  • How do we rotate photos now in iOS 8?

    Under iOS 7, it was pretty easy to rotate a photo if the camera misunderstood its orientation when the photo was taken. There was an arrow tool that rotated the image 90 degrees at a press when you tapped "Edit" on the image. This seems to be gone un

  • Can we have more than 2 "and/or" conditions in filters in advanced mode in power view?

    Hi, I need to check 3 conditions in filter in advanced mode in power view. Is it possible out-of-box. Can we customize the advanced mode filters or do we have some configurable options for same. Thanks, Bhawna.

  • Alerts for ABAP proxies?

    Hi, I have implemented alert monitoring on XI and it works fine. I want to use this alerting system also for ABAP proxies - so if an error occurs, I want to create an alert. Is this possible? How? Thank you, Olian