Hiding and Disabling pop up icon

Hi all,
I have two options on my page. First is "Select from pop up lov" and other is "type in". if user selects "typein", I want to hide popup lov icon (which i am able to do in javascript.) but if user uses keyboard tab then focus goes on pop up icon (which is right now hidden), which is kind of abusrd on interface.
Can anybody suggest something on this ?
Thanks a lot
pb

Hi all,
I have two options on my page. First is "Select from
pop up lov" and other is "type in". if user selects
"typein", I want to hide popup lov icon (which i am
able to do in javascript.) but if user uses keyboard
tab then focus goes on pop up icon (which is right
now hidden), which is kind of abusrd on interface.I did this exact thing except that I simply disabled the relevant controls based on the users choice of a radio button option.
Here's that script if you want to try this approach.
function showHideFields(iOption){
if (iOption == 1){
document.getElementById('P5_SEARCH_ORG_ID').disabled=false;
document.getElementById('P5_SEARCH_CONTACT_ID').disabled=false;
document.getElementById('P5_SEARCH_LNAME').disabled=true;
document.getElementById('P5_SEARCH_FNAME').disabled=true;
//document.getElementById('P5_SEARCH_EMP_ID').disabled=true;
}else
if(iOption == 2){
document.getElementById('P5_SEARCH_ORG_ID').disabled=true;
document.getElementById('P5_SEARCH_CONTACT_ID').disabled=true;
document.getElementById('P5_SEARCH_LNAME').disabled=false;
document.getElementById('P5_SEARCH_FNAME').disabled=false;
//document.getElementById('P5_SEARCH_EMP_ID').disabled=false;
}else {
document.getElementById('P5_SEARCH_ORG_ID').disabled=true;
document.getElementById('P5_SEARCH_CONTACT_ID').disabled=true;
document.getElementById('P5_SEARCH_LNAME').disabled=true;
document.getElementById('P5_SEARCH_FNAME').disabled=true;
//document.getElementById('P5_SEARCH_EMP_ID').disabled=true;
Obviously, you'll need to adjust the script to accomodate your page items.
Then on the radio button item there's a a call to onChange="javascript:showHideFields(this.value);"
Earl

Similar Messages

  • Getting handle to OAAttachmentTableBean and disable pop-up dialog

    Hi:
    I have a requirement where in I have to customize the attachment button (OAAttachmentTableBean).
    The out of the box functionality is ..if mouse is hoverred on the "Add Attachment" button..a pop up dialog box comes up with the options to attach.
    I have a requirement so that I can disable the pop-up functionality.
    I have tried using this code to get a handle on the Attachment but it is not workingt..any help would be really nice.
    This page is in the OCO module (/oracle/apps/fnd/framework/attachments/webui/FND_ATTACH_TABLE_CONTAINER)
    OAAttachmentTableBean attBean = (OAAttachmentTableBean)webBean.findChildRecursive("FND_ATTACHMENTS_TABLE");
    if (attBean!=null)
    Dictionary[] entityMaps = attBean.getEntityMappings();
    entityMaps[0].remove("insertAllowed");
    entityMaps[0].remove("updateAllowed");
    entityMaps[0].remove("deleteAllowed");
    entityMaps[0].put("insertAllowed", false);
    entityMaps[0].put("updateAllowed", false);
    entityMaps[0].put("deleteAllowed", false);
    attBean.setEntityMappings(entityMaps);
    }

    Hi:
    Thank you for replying. I am not getting a hanndle to the attachmentBean. so for the statment
    OAAttachmentTableBean attBean = (OAAttachmentTableBean)webBean.findChildRecursive("FND_ATTACHMENTS_TABLE");
    It is null.

  • I've problem with Game Center . I can't sign in Game Center on my iPad . I tap on the Game Center icon but the page is blank. I tried go to setting, my Apple ID appear but the page keep on loading and  nothing pop up. How to resolve this issue?

    I've problem with Game Center . I can't sign in Game Center on my iPad . I tap on the Game Center icon but the page is blank. I tried go to setting, my Apple ID appear but the page keep on loading and  nothing pop up. How to resolve this issue?

    Hi, bamboo64. 
    Try closing all open applications in multitasking and power cycling the device.  Once this is done test the results.  If the issue persists, I have included a couple troubleshooting articles that I would recommend going through. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check the user guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Cheers,
    Jason H. 

  • Whenever I click on the Itunes icon, a window pops up saying that `The file iTunes Library.itl cannot be read because it was created by a newer version of iTunes`.  I then click ok and the pop up vanishes.  Any ideas as to what I should do?

    Whenever I click on the Itunes icon, a window pops up saying that `The file iTunes Library.itl cannot be read because it was created by a newer version of iTunes`.  I then click ok and the pop up vanishes.  Any ideas as to what I should do?

    What version of iTunes are you using? An .itl file is something that Windows uses, or very old versions of iTunes on Mac. The library file on Macs is now .xml and has been since late iTunes 4.
    Is iTunes running ok without any problems after you OK that message? If it is, then you may be able to ignore it if you can't account for why you're getting it. But make sure you take backups in case something happens in the future.

  • I want to check the main diffrence in Pop up block enabled and disabled.But,i don't get any difference.Would u please help me to understand the difference using one practical example of website

    I want to check the main diffrence in Pop up block enabled and disabled.But,i don't get any difference.Would u please help me to understand the difference using one practical example of website

    Here's two popup test sites.
    http://www.kephyr.com/popupkillertest/test/index.html
    http://www.popuptest.com/

  • After i restoring the vault and finish the restore the aperture pop up icon said : a problem was encountered when attempting to restore from this vault. Please ensure that the has the appropriate permissions and try again.

    after i restoring the vault and finish the restore the aperture pop up icon said : a problem was encountered when attempting to restore from this vault. Please ensure that the has the appropriate permissions and try again.  

    Try this:
    #Go to '''Tools '''| '''Options '''| '''Advanced '''and click the '''Network '''tab.
    #In the Offline Storage menu, click the '''Clear Now''' button.
    #In the location bar, type '''about:config '''and hit Enter.
    #In the filter at the top, type: '''keyword.URL'''
    #Double click it and remove whatever's in there. You'll see it revert to "Default" and "String".
    #Go to File | Exit
    #Restart Firefox and go to the page you want to set as your homepage
    #Go to '''Tools '''| '''Options '''| '''General'''.
    #Make sure it says "''Show My Homepage''" in the first dropdown menu.
    #Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.

  • Remove or disable pop up airplay icon from Apple tv

    How do you remove or disable the airplay icon that pops up when watching sideshows on apple tv?

    Welcome to the Apple Community.
    Not sure if this is what you are after.
    Settings > AirPlay > Conference Room Display > Off.

  • How do you disable available downloads that keep trying to download?  they are items that i already have and keep popping back up!

    how do you disable available downloads that keep trying to download?  they are items that i already have and keep popping back up!

    No one from Apple can answer this question???  Come On!!

  • My ipad has a passcode but i forgot it and i tried many times and it says "Ipad is disabled connect to itunes" so i did that and it pops up and says "you must enter your passcode to access this itunes account"

    my ipad has a passcode but i forgot it and i tried many times and it says "Ipad is disabled connect to itunes" so i did that and it pops up and says "you must enter your passcode to access this itunes account"

    THave you looked at this link  http://support.apple.com/kb/HT1212

  • Why doesn't the pop-up icon indicating an ongoing Handoff not showing up on my MacBook Air dock? But it shows up on my iPhone 6 Plus. And the Handoff works on both devices.

    Pop-up icon indicating an ongoing Handoff is not showing up on my MacBook Air dock.

    Trouble With Syncing Mac Photo Stream to iPhone

  • Profile Manager - Remove icons in ipad and disable home button

    Hello,
    First of all sorry for my bad english.
    Im working on a project, installed LION Server with Profile Manager configured, also Enrolled my iPad, i can also push the settings in to the ipad.
    But now what i realy want, what the meaning of the project is; remove all of the icons and place only one icon (WEBCLIP) and what even will be beter is, when i boot my iPad the webclip popups by default. Is this possible guys?
    Thank you!

    It's impossible to develop an iPad app that can't be closed until some actions are done.  The iPad programmer cannot override what happens when the user presses the 'Home' button.  The 'Home' button will always tell the front application to go to the background, and if that application doesn't cooperate within a reasonable time it will be terminated.
    Bear in mind that an iPad is an overgrown iPhone.  It's always possible that someone will phone you up when you're running an app, and the app must release control and let you answer that phonecall.
    I suggest you discuss the design philosophy with whoever wants the application, remembering that computers are meant to help us do what we want to do, not boss us about.

  • Mail only allows IMAP and not POP

    hi folks
    yes i know, hold down the option key and get the POP option, but this is still not working.
    for YEARS i used pop with no problems, now all of a sudden i have IMAP only and it appears to be duplicating thousands of emails in secondary mailboxes below the primary ones.
    my mac expert told me this is cos i'm using IMAP.
    so, i went into gmail, changed one account to IMAP DISABLED / POP ENABLED and i set up the POP account in mail.
    it doesnt work!
    how is it possible i could be working fine for years and now all this happens? i change NOTHING...
    at times, my accounts just plain stops working!
    what's going on? this is all such a DRAG!

    Instead of using the large preset account settings icons (Google, AOL, Yahoo, etc), use the "Other" option on the bottom. You'll have to enter more info manually, but, if offered by your service provider, you can choose between IMAP and POP by the settings you provide.

  • How can I disable the Email icon in the tool bar from Windows regisrty?

    Does anyone know what key and value in the registry enables\disables the email icon? Is it even a registry key? I know that it can be done manually via the UI. Can it be done using Adobe Customization Wizard 8? I have Adobe Acrobat Standard 8 and Reader 4 installed on a Citrix server and would like the default value for the email icon to be set to disabled or even hidden when users open a PDF file.

    The values in this registry key change what tool bar options are enabled:
    \Software\Adobe\Acrobat Reader\8.0\AVGeneral\cToolbars\cFile\cInternalButtons

  • How to distinguish between enabled and disabled tasks in SSDT-BI 2012

    Hi,
    I've got SSDT-BI 2012 together with VS2012 installed. Simple questions: What is the difference between enabled and disabled tasks in control flow from the design/color point of view? I do see that the disabled tasks changes to grey (omg are you really kidding
    me????) from black. This could be a bad joke or dream however is not.
    So I'm kindly asking you to help me solve this problem. How can I change the color difference between these two options (enabled task vs disabled task)? I do not care whether the one will be yellow or pink, simply just need to be recognizable at first
    look and not under long and painful examination.
    Thanks for your reply. Hopefully it will be useful.
    Karol.

    Hi Karol,
    It’s true that it only changes the font color of the task name text to grey after disabling a task in SSDT 2012. In SSDT 2010, the whole task control including icon will turn grey after it is disabled; in BIDS, the background color of the task control will
    turn grey after it is disabled. These behaviors are by design. Personally, I agree with you that this behavior in SSDT 2012 is not very readable.
    If you have concerns, I would suggest you submitting a wish at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How do I delete photos and photo albums from my iPhone? The instructions given do not work. No "delete" symbol appears next to the album name, and no trash can icon appears below most of the pictures the computer just put on my new iPhone 4.

    How do I delete photos and photo albums from my iPhone 4? The instructions given do not work. No "delete" symbol appears next to the album name when I press "Edit," and no trash can icon for me to click appears below most of the individual photos in the albums the computer just loaded on my new iPhone 4. When I synced the new phone the computer added these photo albums without permission from me. They are now taking up about 3 GB of memory on my phone. I would like very much to get rid of these photos from the phone. How do I do this?

    To delete photos from your device
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.

Maybe you are looking for

  • Moving extra content to another hard drive

    Hi, Not sure if this is the right area to ask this, but here goes. I recently upgraded to FCS2, and I could have sworn that I had selected an external HDD I had attached and switched on. When I look at the directory where I said for the files to go i

  • Three ZTE MF627 Dongle

    I upgraded to SL yesterday, and today picked up a Three ZTE MF627 Dongle, which I now discover is only compatible with Leopard up to 10.5.2 and so I can't install it! Any ideas as to how to overcome this, whether it is likely to be upgraded in the ne

  • Setting specific timeline for user login in EBS

    Hi All, Is it Possible to define specific timelines for specific users or user groups in EBS? (e.g. Mr X can only log in between 08 00 hrs and 16 00 hrs and session is automatically terminated with a grace period afterwards). Thanks, Prasad

  • How to shorten wireless range

    I have a linksys BEFW11S4 ver.4  i want to shorten the wireless range. Anyway to do that?

  • Trouble displaying all rows in classic report

    Hi, I have a classic report which pulls out data based on item in bind variable (which is a select list). Some entries should have about 200 rows but the page only shows 15 rows. I have tried setting pagination to none still dont get to see all rows.