MultiSelect which allows only a single selection

Good afternoon

I have two lists of multiple selection on a page. I need to change the second list then < ctrl > and < shift > click is disabled and that only one item can be selected at a time. Is this possible?

I understand it would work better as a select drop-down list, but my client prefers the look of multiple selection.

Thank you

Aaron

Try this (this implies that your multiple selection is called P21_MS)
http://Apex.Oracle.com/pls/OTN/f?p=20569:21

Header HTML:



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.

Tags: Database

Similar Questions

  • Special RV220W NAT allows only a single service?

    Hello

    Just bought a RV220W for a client to replace a WRVS4400N which has no support for individual NAT and stated that the specific NAT for this router is only marginally better.

    I have three WAN addresses and three devices to their card. With the RV0xx, I used the following more than a dozen times.

    WAN 1 address - public address of the router

    Port HTTP, HTTPS and SMTP for Windows Small Business Server 2011

    Messaging and remote Web access are available to the remote.company.com

    Address WAN 2

    One-to-one NAT to Ubuntu Server's private IP address

    Add the following access rules:

    • All refuse
    • Allow everything to the private IP address of the HTTP Server
    • Allow SSH to static IP address of my business to private IP
    • Allow FTP to static IP address of my business to the private IP address

    Companies Web site is accessible to company.com and I can update the site with SSH and FTP

    Address WAN 3

    One-to-one NAT to private IP address of the module of RMM Intel Server Hyper-V (Lights out remote management)

    Add the following access rules:

    • All refuse
    • Allow HTTP, HTTPS, and RMM all ports of statics of my business to the private IP address of RMM modules

    I can access the my business network connection rmm.company.com server

    My problems are:

    1. Specific option NAT requires now allows you to specify the service you want to transfer (Note: service, not services)
    2. If you select all of the service which is the only way that I can see for having more than one service, there is no way to add any specific Allow or Deny rules because the Destination area is dimmed in page access rules.
    3. This results in my Ubuntu Server only have HTTP sent to her and my module RMM having all ports open to any IP address.

    There must be a way around this! I don't understand why the Destination IP option is grayed out for all inbound access rules. I used this same configuration with the RV0xx of Cisco, many Sonicwall, as well as several Cisco ASA firewalls. Obviously this isn't an ASA, but this individual NAT implementation is useless!

    Any help is greatly appreciated. Thank you

    Kevin

    Due to the GUI limiting to one service in individual NAT page, users must go to the firewall > page access rules to specify additional services are allowed.

  • When opening Firefox, more than 10 windows open, which have only a single 'new tab '.

    I am running Firefox 5.0. Recently, it has begun to open multiple (more than 10) when I start a quick start area. All the open windows with a single tab called 'new tab '. The tabs that I had opened my last session of Firefox are ignored.
    I've used Firefox for many years.
    I use a desktop computer running Windows 7 Professional SP1 with an Intel i5 chip.

    It is possible that there is a problem with the sessionstore.js and sessionstore.bak files in the Firefox profile folder.

    Delete the sessionstore.js file [2] and sessionstore.bak in the Firefox profile folder.

    If you see files sessionstore-# .js with a number in the left part of the name as sessionstore - 1.js then delete those as well.

    Delete sessionstore.js will cause App Tabs and tab groups and opened and closed the tabs (back) to get lost, so you will need to create them again (take note or bookmarks).

    See also:

  • The vision Builder run license allows only a single session?

    I created several VBAI routines at this date.

    One of the facilities to use 2 of them both.

    It seems that they can perform a unique VBAI both well.

    What choices do I have?

    (1) an additional run-time license will allow 2 sessions at a time?

    (2) create a VBAI hybrid that incorporates the functions of both?

    Thank you

    Jonathan Cliffen

    Not sure how your INI got in this State. You can simply copy the INI on your dev machine and that will fix the problem.

    Sorry that I don't have a better explanation for what happened to your INI, but at least this explains why you couldn't run several instances.

    Thank you

    Brad

  • Error PARM (shows like mrap) with multiple selections, no errors with single selection

    Hi all

    I'm new to Illustrator scripting this is my first script. I get this error "error 1200: Illustrator error: 1346458189 ("MRAP"): line 50" which is the line:

    var next_board = doc.artboards.add([next_board_L, next_board_T, next_board_R, next_board_B]);  

    It only occurs when I have several selections and never when I have only a single selection. After a little research I found the error is actually PARM, but I don't see the variables not instantiated or other issues that might be throwing this error. I'm on a mac Illustrator CC. I would appreciate any help on this matter. Here's the complete script.

    #target Illustrator
    
    
    // This script was made to take all selected objects
    // Create a new arboard for all Selected objects 
    // At a user specified width and height then
    // Scale the object to the artboard size and center
    
    
    
    
    var doc = app.activeDocument;
    var select = doc.selection;
    
    
    
    
    if (select.length &gt; 0) {
    
    
         var title = "Fit Selected Object(s) to Artboard(s)";
         var msg = "Enter the width and height of artboards (single number)";
    
    
         var board = Number(Window.prompt (msg, 0, title));
         
    
    
         for(var i = 0; i &lt; select.length; i++) {
    
    
              var selectW = select[i].width;
              var selectH = select[i].height;
    
    
              if(selectH &gt;= selectW) {
                   if(board &gt; selectH) {
                        scale = board/selectH*100;
                   }
              } else {
                   scale = board/selectW*100;
              }
    
    
    
    
              var boardIdx = doc.artboards.getActiveArtboardIndex();
              var boardSrc = doc.artboards[boardIdx];
    
    
              var boardSrc_L = boardSrc.artboardRect[0];
              var boardSrc_T = boardSrc.artboardRect[1];
              var boardSrc_R = board;
              var boardSrc_B = -board;
    
    
              var moveX = 10;
    
    
              var next_board_L = boardSrc_R + moveX;  
              var next_board_T = boardSrc_T;  
              var next_board_R = next_board_L + (boardSrc_R - boardSrc_L);  
              var next_board_B = boardSrc_B; 
    
    
              var next_board = doc.artboards.add([next_board_L, next_board_T, next_board_R, next_board_B]);  
    
    
              select[i].resize(
                  scale, //this is a percentage of current width  
                  scale, //this is a percentage of current height  
                  true, // changePositions  
                  true, // changeFillPatterns  
                  true, // changeFillGradients  
                  true, // changeStrokePattern  
             );
    
    
    
    
              var selPosX = select[i].left;
              var selPosY = select[i].top;
              
              var selBoardDiffX = next_board_L - selPosX;
              var selBoardDiffY = next_board_T - selPosY;
              var toCenter = 0;
    
    
             select[i].translate (
                       selBoardDiffX,
                       selBoardDiffY,
                       true,
                       true,
                       true,
                       true
             );
    
    
             var boardH = next_board.artboardRect[2] - next_board.artboardRect[0];
              var boardW = next_board.artboardRect[3] - next_board.artboardRect[1];
    
    
             if( boardH &gt; select[i].height ) {
                  toCenter = (boardH-select[i].height)/2;
    
    
                      select[i].translate (
                                0,
                                -toCenter,
                                true,
                                true,
                                true,
                                true
                      );
    
    
             }
             var NegSelectW = select[i].width * -1; //Must be a negative number
    
    
             if ( boardW &lt; NegSelectW ) {
                  toCenter = (boardW+select[i].width)/2;
    
    
                      select[i].translate (
                                -toCenter,
                                0,
                                true,
                                true,
                                true,
                                true
                      );
    
    
             }
         
         }
    
    
    }
    

    Ooh! Go straight to here:

    Re: [Illustrator CS5.1] how to create a custom artboards.add function argument

    This is exactly the kind of thing you need!

  • Trigger - allow only SYSADM change password

    Hello

    I would like to create a trigger for Oracle 9i, which allows only the SYSADM change passwords and deny all users to change their password. Is this possible?

    I found a script, but it does not allow users to change their password (sorry, can't remember where I found it, but credit to author :))

    CREATE TRIGGER No_Change_PWD_trigger
    BEFORE ALTER
    WE DATABASE
    DECLARE
    BEGIN
    IF (ora_dict_obj_type = ' USER') THEN
    raise_application_error (-20010, ' you cannot change the password, try nice ;)) ») ;
    END IF;
    END;
    /

    Can someone help me to modify the script to allow SYSADM to be the only user with ALTER USER privileges?

    Thank you
    Ryan

    Hello

    a simple addition should work (but not tested):

    CREATE TRIGGER No_Change_PWD_trigger
    BEFORE ALTER
    ON DATABASE
    DECLARE
    BEGIN
    IF (ora_dict_obj_type = 'USER')
    and user != 'SYSADMIN' THEN
    raise_application_error(-20010,'You cannot change the password, nice try ;)');
    END IF;
    END;
    /
    

    Herald tiomela
    http://htendam.WordPress.com

  • How open only a single clip in the source monitor Panel?

    OK, the answer to this question may be simple... If all goes well...

    Right now whenever I open a clip in the source monitor Panel it adds to the drop-down list.

    Well... but I'm opening and closing hundreds of clips per day, and after a while I noticed that it seemed to slow down the entire system PPCS5.5.

    It seems that the PP seems to keep each clip I open... active.

    Screen shot 2011-11-07 at 1.25.06 PM.png

    Is it possible not to allow only a single clip to be open at a time in the source monitor... other than having to close their first? (would be ideal if there was some sort of shortcut as shift-doubleclick)

    No, nothing like this. I do not think that this opening up of dozens or several clips in the Panel Monitor Source would lead to slowing down the system important (at least, I never noticed this). I suppose there might be some kind of memory leak, but I'm not sure.

    What is your source footage? The system seems more sensitive after you close the clips in the Source monitor?

  • How do I divide the values from the cfselect which allows multiple?

    I have a basic form with a drop-down box and a cfselect box which allows the user to select multiples. For each element selected in the cfselect box, I need to fill in a line in the database. How do I "split" the values of the cfselect and fill several lines in the database?

    Found a large sample... and it works fine now... http://KB.Adobe.com/selfservice/viewContent.do?externalId=tn_17007



    INSERT INTO tContentLinks (ContentID, SubSectionID)
    VALUES (' #Form.ContentID # ', ' #SubSectionID # ')

  • I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    Don't know how to get the exact button back (sorry) I dig around too much to do...
    But! Today, I found by chance that by clicking and holding on the back button the same box to popup in last-12-sites and you can stream on the list to return to that particular site.

    Not exactly what you (and me) tried but at least the functionality is there.

    Good luck!

  • in the right corner of my computer was a detail which allow me to develop my policy a single click... where he... where can I find who once again

    What happened to the little thing in the right corner of the screen which allow me to take 100 to 200 police in size.  ???

    Hello

    Are you referring to Internet Explorer or Windows Explorer?

    If you are referring to Internet Explorer, then select the status bar and check if that helps:

    a. open Internet Explorer.

    b. click on the view menu, and then select the toolbars.

    c. Select the Status bar.

    d. click Ok.

    I suggest you to set the zoom level in the Web page by following the link:

    Zoom in on a Web page

    http://Windows.Microsoft.com/en-us/Windows-Vista/zoom-in-on-a-webpage

  • There are two select statement, which are as follows: 1) select project id, the name of ppm.pm_projects project_name and request_id 2) select id, name from request_type_name to kcrt_request_details. There is a column called entity that allows you to store

    There are two select statement, which are as follows: 1) select project id, the name of ppm.pm_projects project_name and request_id 2) select id, name from request_type_name to kcrt_request_details. There is a column called entity that can store a value i.e. project or request. I want to write a select statement containing a condition that is if the entity name is project and then run the select statement 1 otherwise, if the name of the entity's request, then run the select statement 2. All this must be written in a select statement. Can someone help me how to write this select statement type.

    Hello

    Hello

    2726057 wrote:

    ... There is a column called entity that can store a value i.e. project or request. ...

    In which table is this column?  Assuming that it is in a table called entity_table, you can do something like this:

    SELECT project AS id

    project name AS the name

    OF ppm.pm_projects

    WHEN THERE IS)

    SELECT 1

    Of entity_table

    Entity WHERE = "Project".

    )

    UNION ALL

    SELECT request_id ID

    request_type_name AS name

    OF kcrt_request_details

    WHEN THERE IS)

    SELECT 1

    Of entity_table

    Entity WHERE = 'ask '.

    )

    ;

    This does not have anything on the number of lines is entity_table, or what are the values in the column of the entity.  In other words, the query works in all cases.  If any line in entity_table entity = 'Project', then the pm_projects data will be included in the result set.  If any line in entity_table entity = 'Request', kcrt_request_details data will be included.

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the results desired from these data.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

  • Pls help: SQL Loader support only a single record

    Hello!!!

    I'm trying to insert data into a table using SQL Loader.

    I entered on the command line,

    > sqlldr userid = abc\abc control = "contrl_file_name.ctl."

    It does not perform any operation and simply crashes... table does no data... no data in the log file...

    It simply shows the SQL Loader Release... production... Copyright messages and do not stop.

    Am new on SQL loader... Kindly help

    *************************************************************

    Another problem:

    I have my file loading_data.dat with multiple entries as below which are records to be inserted for a single column in my table.

    233207332711 < EOFD > < EORD > 233208660745 < EOFD > < EORD > 233200767380 < EOFD > < EORD >...

    My control file is like this:

    data continue_load

    INFILE loading_data.dat '.

    Insert

    in table T1

    fields terminated by '< EOFD > < EORD >.

    (msisdn)

    When I execute the following statement of sqlldr, he inserts a single record and says loading completed - logical number of records 1.

    Why my other documents are not get inserted?

    Post edited by: 3cd7ad85-b56c-4a9c-ae91-83be047aac2c

    Continue_load can only be used with direct path, unconventional path.  You must specify the record terminator and terminator of field, which is the same when your data are only a single column.  Please see the example below.  As for your digital problem, as you can see, it does not reproduce below.  Your problem could be due to many things.  He might try to read something else that what you think, he tries to read, because of something else being wrong.  It is possible that you need to use:

    (msisdn "to_number (ltrim (rtrim (: msisdn)))")

    to remove the leading and trailing spaces and convert it to a number.  You must provide a copy and pasting a full example, as I did below.

    -loading_data.dat content:

    233207332711 233208660745 233200767380

    -control_file_name.ctl:

    load data

    INFILE loading_data.dat "str"".

    Insert

    in table T1

    fields terminated by ' '.

    (msisdn)

    Scott@orcl12c_11gR2 > create table t1 (msisdn number)

    2.

    Table created.

    Scott@orcl12c_11gR2 > host sqlldr scott/tiger control = control_file_name.ctl log = test.log

    Scott@orcl12c_11gR2 > numLargeur 20 the value

    Scott@orcl12c_11gR2 > select * from t1

    2.

    MSISDN

    --------------------

    233207332711

    233208660745

    233200767380

    3 selected lines.

  • Omen of HP 15: Wifi stop working. Win10 shows only a single network and it connects to the WiFi

    Hi guys,.
    Since a few days my wifi stopped working.
    If I click the Wifi icon it shows only a SINGLE NETWORK (two maximum), but not mine!

    And I live in a building of 20 + networks, as you can see on the WiFi Analyzer (I'm the only red to the right)



    If I reactive / disable Wifi with fn + f12, it goes back in plane and Wifi mode mode and sees it eventually all networks:



    My Wifi is on top. If it is registered, Windows connects to it and then she abandons the connection; If it is not registered, and I try to connect, it says "you are not able to connect to this network.
    Is fun is that after a few seconds, each network disappears and alone is shown (probably the one next door... I don't know).

    I already tried to RESET the laptop MATERIAL by keeping the power button for 10-15 seconds with the laptop is turned off.
    I tried to follow these instructions (http://support.hp.com/us-en/document/c04649175) updated drivers (Intel 18.12.0.3, 18.12.1.2, 18.30.0.9 [10 default Windows], 18.32.0 [last drivers]) without success. Whenever I have install a new driver, I uninstalled the earlier software Wireless + restart.

    I tried to uncheked "allow this computer to turn off this device to save power" on my settings of Wifi hardware without success.

    HP network support said that I did not choose a Wifi (really? The problem is that I do not see my Wifi on the list!).

    This is unrelated to a new 10 Windows upgrade since I installed it months ago and this is the first time I have this problem :/ It has always worked

    I tried different settings too:
    I changed the channel, I put 802.11 g on my router, APSD off on the router.
    I put "Magic off packet, QoS ad hoc off, U-APSD off, fat wide channel, differential flow mode HT off" on the creation of the map without success. Nothing chaned.

    The hardware test detects any failure.

    Important note: If I close the router, it shows my network connection with full power and he connects to it. Then I come back in my room (probably 3/4 meters away), it MAINTAINS the connection for 30 / 40 min and he drops the connection and I cannot reconnect to it more. It has always worked perfectly in my room during these months (I bought it in March 2015), so the distance is not a problem, I'm 6 / 7 m away from the router.
    In this case, it shows my network (connected) and the nearby... and the other 20 networks +?

    The only way I have is USB tethering with my Nexus 5.

    Linux: I tried the WiFi on Freya elementary (Ubuntu linux OS base) and it displays 20 + networks available on the list. He has not the connection problem with my Wifi, but sometimes it stops working, Web pages stop loading and I have to restart Wifi to reconnect to the it (usually after 30/40 min of use it).

    -------------------------------------------------------------------------------------

    What is the problem? My Wifi card is broken? Should I call Italian support or if you have any suggestions?

    WAWood,
    I took a risk.
    I did a factory restore with recovery HP (I have a drive dedicated for her)... and it worked!
    I had to switch from Win8.1 to 10, but the Wifi problem is solved!

    I'm still guessing that was the problem...

    Now, I'm under Intel drivers 18.30.0.9 worm and all the networks work.

    In the next few days I'm checking the linux problem (reset deleted primary partition).

  • Strange double NAT, although there is only a single router

    My ISP (RCN) changed my modem at a speed greater than one.  Although a router built-in, I told them that I didn't use their router, only my Time Capsule, so they disabled.  However, my Time Capsule kept gives me an error message Double NAT and amber flashing against Green, even though everything seemed to work (wireless and wired) and said that I should switch DHCP and NAT to bridge mode.  Correction of the error, but I do not understand what caused the Double NAT if there is only a single router.  The ISP Technical Support people confirmed their control center is not the router feature on in the new modem, I ask.  They also said that their network supports DHCP, although they have other who use the Bridge Mode, although they do not support.   And they knew nothing about it, he said to ask Apple.  They also offered to switch back, but because this modem is faster at the same price.  (He called a bypass gateway 3-in-1).  Many people online told not to use his router, it's why I unplug it and only use the time Capsule.

    So if someone can give me feedback, I'd appreciate it. I must:

    1. keep running the new modem and my Time Capsule in Bridge Mode.

    2. run the new modem in DHCP mode, as they put in place and do not worry Time Capsule seeing amber / flashing Double NAT error.

    3 swap back to the previous modem, which was 50 Mbps against it with (theoretically) 155 Mbit/s (it's only works in 50-70).

    I'm not really all that, but I hope that one of you maybe.  Thank you!!!

    Although a router built-in, I told them that I didn't use their router, only my Time Capsule, so they disabled.

    ISPS often make the mistake of simply turn off the radio on a modem/router...which service does not disable the router function of the device. You still have a wired router when ISPS are making this mistake.

    However, my Time Capsule kept giving me an error message Double NAT

    This confirms again that the ISP has not disabled the function of the router to your modem/router.  On some modems/routers or gateways, it is not possible to get the device to act as a simple modem.

    The ISP Technical Support people confirmed their control center is not the router feature on in the new modem, I ask.

    The fact remains that you wouldn't see a Double NAT error unless the ISP system acted as a router... Despite what people of PSI say. You may need to get a 2nd or 3rd person-level support, who knows what they are doing.

    1. keep running the new modem and my Time Capsule in Bridge Mode.

    Yes, if you want to avoid the mistake of NAT Double... what you are doing. But, the time Capsule will not be your router.  The device of the ISP will be.

    2. run the new modem in DHCP mode, as they put in place and do not worry Time Capsule seeing amber / flashing Double NAT error.

    This only if you willing to accept the fact that the ISP did not correctly change your gateway to make it work as a simple modem only.  You might be able to get away with a Double NAT error on a simple network, but there is no reason more complicate things with a misconfiguration in unless whether there are a few reasons to do it and it can't be avoided.

    3 swap back to the previous modem, which was 50 Mbps against it with (theoretically) 155 Mbit/s (it's only works in 50-70).

    Your decision if you want to run a simple modem with time Capsule, or accept the fact that the time Capsule won't have your router when it is configured in Bridge Mode, or you see a Double NAT error on the network.

    If it were me, I would go back to what I know will work properly... the simple modem and time Capsule as the router.

  • clock alarm clock in pre 3 allows only 1 ringtone

    Hello
    my clock is normally dozens alarm in pre 2. Every 15 minutes from 05:00 to 19:00. Together with your old phone and alarm fullvolume alarm and I have everything that I need very quickly.

    However you just bought a pre 3 and she is transferred to my pre and found that there is only one available sound despite the name of the alarm, it actually plays your pre. No other option re there.

    is there only one ring also for phone.

    I had to reinstall my proofile and then worked. something was wrong when upgrading pre pre 3, which means that a single type of ringtone

Maybe you are looking for

  • inaccurate time using ProsesSystemEvents

    Hello I suffer incorrect delay function when using ProcessSystemEvents. I have no need of 1 second precision, rather 10 seconds precision would be sufficient. But I need ProcessSystemEvents because I need to wait a long time and do so using only Dela

  • How will I know what GPU is using my laptop (with a portable Dual Graphics)

    Laptop: HP ENVY 15z j100 (custom) Hello I have a custom 15z j100 and there a 2 GPU built in the CPU (APU) and another of discrete (Radeon 8750 M 2 GB) and I use mine for the play of light and I was wondering if there is no way to know if my laptop us

  • "Status" message will not go away! I do not know why it seems or how to get rid of... Help!

    I clicked on windows update and now I get the message in a box which reads "the component you are trying to use is on a CD-ROM or another removable disk that is not available. "Insert the Stautus disc." I can't close this box and it appears everytime

  • Winmail stuck allowing

    Winmail night will not receive more emails.  My apple devices can still, so it of a problem of software from Microsoft and not on my server.  I get the following: Your server suddenly put an end to the connection. The possible causes for this include

  • I have new photos on a cd. How to download on pc?

    I got caught in a commercial studio portraits. I can't find where and how to read and download the d drive? e? for pc