Multiselect that only allows single selection

Good afternoon,
I have two multiselect lists on a page. I need to modify the second list so that <ctrl> and <shift> clicking is disabled, and only one item can be selected at a time. Can this be done?
I understand it would function better as a select dropdown list, but my customer prefers the look of the multiselect.
Thanks,
Aaron

Try this (this assumes your multi-select is called P21_MS)
http://apex.oracle.com/pls/otn/f?p=20569:21
HTML Header:
<script type="text/javascript">
function check(){
  var list=$x('P21_MS');
  var count = 0;
    for (i=0; i<list.options.length; i++) {
      if (list.options.selected) {
count++;
if (count > 1){
//clear box
for (i=0; i<list.options.length; i++) {
list.options[i].selected = false;
alert('You may only select 1 option');
</script>
HTML Form Element Options for P21_MS:
onchange="check();"Keep in mind that Javascript can be disabled, so if there is a business rule attached to not selecting more than 1, include a regular Apex validation that does the same check.

Similar Messages

  • In OBIEE mobile apps designer there is no option for multi select prompts?The navigation page gives option only for single select?Is there a work around for this?

    In OBIEE mobile apps designer there is no option for multi select prompts?The navigation page gives option only for single select?Is there a work around for this?

    Nic, for me the iTunes window looks like this, when I connect my iPad 3:
    I select the iPad in the "devices" section of the Sidebar (use: "View > Show Sidebar" if the sidebar is hidden).
    Click the "Apps" tab in the "Devices" pane.
    Scroll all the way down in the Devices pane to "File Sharing" "Apps" section.
    Then do I click "GarageBand" to select the documents in the right panel.
    Which part is different for you? Perhaps you could post a screenshot?
    Regards
    Léonie

  • I need a script that only allows numerics to be keyed in

    I need a script that only allows numerics to be keyed in.

    Thank you so very much.  You kindness is appreciated.
    K Wiley
    On Thu, Oct 17, 2013 at 3:46 AM, Gilad D (try67)

  • Visual Composer 7.0.1 (EHP1) - Value Help only shows "Single Selection"

    I tried to add a value help to a field that allows multiple selections. However, when I used the wizard through "Add Value Help" drop-down menu, I can only see one proposed selection -  "Single selection". However this SAP help document (http://help.sap.com/saphelp_nw70/helpdata/en/b5/036d391f074f769e00602634ee9960/content.htm) mentioned about the "Multiple selection" option. What I can do to make this selection available?
    I am using VC 7.0.1 (EHP1). Thanks for any helps in advance.
    Kelly

    Hi
    Are you using 'BI Query' as 'data Service'? & are you creating value help for variable? If Yes -
    Create necessary variable as 'Multiple Single Options' in your BEx query & then create value help in VC. Then it will allow multiple options or interval values.
    Regards
    Sandeep

  • Add a BUTTON that ONLY prints a selected page range

    Hello,
    I have a 100+ page PDF which has 32 or so 'sections' which are accessible by bookmarks.  I want to add a button that allows the reader to print ONLY the section they are in, i.e. a pre-selected page range that I embed in the button.
    Is this possible?
    If not, is there any other way to do this?  The document was originally created in Word and is broken up by Sections.
    Thanks,
    Chris.

    It's possible using a script, but the user will always be able to edit that pre-defined range, if they wanted to.
    The only option where they can't edit it is by using a script that silently prints the section, but that requires installing a script on the local machine of each user that is going to use the file.

  • Can I activate a 5S on a network that only "allows" up to an iPhone 5?

    Hello, I am looking to start service with FreedomPop using a phone. They currently only sell the iPhone 5, but say the 4 and 4s are okay to bring to the network. They even told me the 5S and 5C were not allowed due to some software concern...
    Can someone please let me know how they would be able to differentiate between phones they don't have on their person? If I were to tell them I have an iPhone 5 then give them the MEID/IMEI for a 5S, would they be able to tell? They use Sprint's networks and don't use a SIM card that I am aware of (which is the only significant difference I see between the 5 and 5s/5c - switch from micro to nano SIM). The 5s/5c is a much more capable device and compatible with Sprint's networks, so where does the issue come from, if there truly is one? Thank you ahead of time for your help.

    All iPhones, with the exception of the iPhone 4 CDMA, use and require a SIM card.
    They will be able to tell the model of phone when it connects to their network.  If they say the 5S is not supported, it's not supported.
    Only FreedomPop can ellaborate on why the device(s) are not compatible with their network.

  • Create a privilege level that only allows access to show commands

    Hi,
    I would like to create a privilege level that would only give access to the show commands for certain users. What would be the best way to do this?
    Would I have to use the privilege mode level level command for every available show command or is there a more efficient way of doing this?
    In addition, could we manage such a privilege level from a Radius Server.
    Thanks for your help
    Stéphane

    Well, I think the best way to achive this is to use TACACS with command authorization feature.
    Configuration on the tacacs server ( only for show commands, read only access)
    http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00808d9138.shtml#scenario2
    These commands are required on an IOS router or switch in order to implement command authorization through an ACS server:
        aaa new-model
        aaa authorization config-commands
        aaa authorization commands 0 default  group tacacs+ local
        aaa authorization commands 1 default  group tacacs+ local
        aaa authorization commands 15 default group tacacs+ local
         tacacs-server host 10.1.1.1
         tacacs-server key cisco123
    These commands are required on ASA/PIX/FWSM in order to implement command authorization through an ACS server:
        aaa-server authserver protocol tacacs+
        aaa-server authserver host 10.1.1.1
        aaa authorization command authserver
    However, if you strictly want to use radius server then please try the below listed attribute for a single user or group.
    Service-Type = NAS Prompt
    http://www.ietf.org/assignments/radius-types/radius-types.xml#radius-types-4
    This might not work for ASDM.
    HTH
    Regards,
    Jatin
    Do rate helpful posts-

  • How to add interaction to button that only appears in selected state of radio button?

    Hi all,
    This is my first time working with flash catalyst, so far it's going pretty good. There is only one thing that I cannot get the program to do:
    I'm creating a quiz and I want a button to appear when the correct radio button is clicked. I've succeeded in making the button appear by putting it in the selected state of the correct radio button. But when I try to add the interaction 'go to next page' to this button, it doesn't work. It appears that the button is getting the same properties as the radio button it's connected to. When I put the button on the page and make it constantly visible (by taking it out of the selected state of the radio button), it does work.
    Can anybody tell me what I am doing wrong?
    Thank you very much,
    Sisko

    Hi there,
    For interactions, you can only target items within the current document (the object you are editing in place), or the top level application.
    Panini is a bit more flexible with interactions, so you may want to try that out.
    -Bear

  • Date picker - only allow to select sundays

    Hi
    In my application I have a date picker field called "Week End date". It should contain only Sundays (the last day of the week for us).
    Currently the user can select any date, and in a computation I "round" it to the following Sunday. It works well but not very elegant and a bit confusing to the user.
    I have considered generating a LOV only with Sundays, but how many? The last/next 50 Sundays? And if the user wanted to enter a week, say, 4 years ago? The ideal is to use a popup calendar I think.
    Any suggestions on how to implement this?
    Thanks,
    Luis

    Leo
    Thanks for the reply -- do you mean a post calculation in the page itself (javascript) or in Apex? If you mean the latter, that is exactly what I am doing at the moment (see my original post).
    If you mean javascript, not sure how I would do it (because of the date format mask, I would not like to hard code it), but would help... I will take a look at it.
    Thanks,
    Luis

  • How does one handle Stock agencies that only allow 64 characters for keyword lists

    since LR4 puts the keywords in alphabetical order the keywords would be truncated and my most popular keywords would not make it to agencies search engines. Anybody know of a way to put the most powerfull keywords up the front. Or do I need to edit keywords specifically for this agency thus doubling my work.

    The Enet-485 contains several levels of buffers which impact how flow control works. When you write data from the PC the data buffer is transmitted to the Enet-485 where it is stored to be transmitted out of the desired port. In addition to deep software buffers, the Enet-485 also has a deep (128 byte) hardware FIFO that lays just above the physical (RS-485) layer.
    This FIFO is "RTS/CTS" sensitive and can react (ie: "turn off") very quickly in response to RTS/CTS handshaking. However the software flow control (XON/XOFF) is handled by the Enet-485 firmware. Thus if the TX FIFO has more then 5 bytes and an XOFF is received, it is not possible to turn off the serial stream until the FIFO is empty, which causes a data overrun.
    The reason why wait
    ing between bytes works (but is slow) is that at any time an XOFF character is received, the FIFO will contain less than 5 bytes and thus not overflow.
    However, if you know the size of the receive buffer, then is it possible to send data in lagre (40k) chunks with a slight pause between to allow for the XOFF to be received and processed? You can guesstimate the timing based on the baudrate, buffer size, and network delay (typically ~100ms but can be more).

  • Is there a way to make a second passcode that only allows access to making calls?

    I would like to be able to have my regular passcode for full access to everything on my phone but have a second passcode I can enter for when someone asks to borrow my phone to make a call, and this would only give them access to making a call but no access to my calendar, emails, photos, apps, etc.
    Does anyone know if this is possible to do through settings or even if there is an app for this?
    Thanks

    No, this isn't possible and there isn't an app that would be able to do this.

  • How is 2x2Gb "divided" on a system that only allows 3Gb?

    I currently have 1Gb + 2Gb installed in my Macbook. Because of some good fortune, I have access to a 2x2Gb set. Since the 1+2 setup does not take advantage of the DDR2, I figured I'd go for the 2-3% boost (small, I know) from paired chips. My question concerns how the Macbook will allocate the two chips. Will it work in a 2x1.5Gb "mode" or use "1+2"? If the latter, it's not worth installing since the pairing would be no different from a speed perspective (I assume) than my current physical setup.

    Kappy wrote:
    I thought I was pretty clear.
    Your answer sounded like you were saying the system would use all 4Gb, which is why I felt the need to clarify. My understanding is that the pre-Santa Rosa chips do not use the last 1Gb at all. They use 3Gb total (1Gb for system, 2 for programs). I haven't read anything that says it's even a matter of the typical limitation of the 32-bit OS but is, instead, an Apple hardware setting (i.e. PC's use 3.3Gb whereas pre-Santa Rosa's only use 3Gb). I may have this completely wrong and it's identical to the PC 32-bit "problem." If so, my original question becomes moot since I already know that answer.
    In case you didn't notice 2x1.5 GB and 1+2 GBs both equal 3 GBs.
    That does not mean they are the same. I'm very aware of the Math. Mismatched chips don't get the benefit of dual-channel.
    There is no "2x1.5 GB mode."
    Hence my use of quotation marks: to show that I was aware of this but still needed to describe the situation. Nevertheless, the mapping is important since mapping out 1Gb on one chip could have an adverse impact on performance compared to mapping out 512 Mb on each.
    If you are asking does installing a matched pair provide the benefit of dual-channel interleaving, then the answer is 'Yes."
    Yes, that's what I was asking. I guess I too thought I was clear. Even if the increase of 2x2 is 2-3% over 1+2, for the $10 I'm paying to do it, it's worth the money.
    Message was edited by: Xian Rinpoche
    Message was edited by: Xian Rinpoche

  • Can I use Acrobat 11to download pdf that only allows me to read, enter data, and print?

    I need to complete gov. forms available online as pdf.  I can review, enter data and print, but I cannot save to my computer or anywhere else.  I need to be able to save so I can return to the form and enter information as I access it.  Can this be done if I purchase Acrobat 11 and, if so, can I get the Standard edition?  I currently only have Reader.

    Yes, if you upgrade to at least Acrobat Standard you will be able to save. Since you can't save with Reader (assuming 11), the forms are probably XFA forms (created with LiveCycle Designer), which must be Reader-enabled in order to be saved with Reader. Reader 11 can save non-enabled AcroForms (forms created with Acrobat), but not non-enabled XFA forms. If you have a Reader version prior to 11, try using Reader 11 to see if it will save.
    If you can provide a link to one of the forms, I can tell you for sure what the minimum requirement for saving is.

  • My 3g is stuck on a screen that only allows emergency calls, wont conect to itunes, doesnt change when turned off or plugged in, any ideas how to fix it?

    my 3g fell in toilet thursday, dried out and worked yesterday, now its stuck on a screen that says emergency call. wont connect to itunes, doesnt change when turned off or plugged in, any ideas

    If you are eligible for a discounted upgrade through your carrier, this would be a great time to consider it. The phone is most probably permanently damaged.

  • Trying to install flash player; keep getting message that only single instance application can rub, but this has been happening 2/3 days; help?

    I've been attempting to install Flashplayer, but keep getting the message that only a single instance of the application can run. Have tried various things but not getting anywhere.
    Can anyone assist? Thanks.

    Does this error appear after you complete the download and start up the installer file? If so, you may need to restart Windows. Sometimes the Windows Installer accumulates a backlog of changes and stops working correctly until you restart your system and let it clear its queue.

Maybe you are looking for

  • [SOLVED] Eeepc 901 and 2.6.32 upgrade.. Black Screen!

    I've just updated the kernel 26 package and.. After udev start all goes black! It's not a Xorg issue, because i've to start it manually.. Any idea?? Last edited by Malo (2009-12-30 10:34:59)

  • CAN SOMEONE HELP MY sounds are not working

    my son was playing angry birds then when he gave me back my phone all my sounds were not working, all my settings are ON, the mute button is def. not on mute, i did a restore and back up nothing is working, my keyboard sounds my games NOTHING!!! my r

  • I can't find the camera, FaceTime, Siri, or photo booth. Help?!

    I cannot find those various icons. I went to restrictions and they were frayed out. I do not know where they went or how to get them back.

  • Re positioning of a  JS menu (has links)

    HI, I have a link to the page I'm wotking on http://www.oldfields.com.au/access/index.htm the grey menu on the left side doesn't fit in. It is a java script menu that is linked to other pages, so it is seen on all the pages in the "access" section. O

  • SRM table for backend PO & PR no. in Classic scenario

    Hi All, We are in classic scenario. I need the table/view name which stores the PR and PO no. created in the backend system. I could find different view names for PO,PR nos. from BBP_PD but is there any single table/view which stores this data ? Any