Enable/disable textbox depending on list option, list is dependent on Radio

Hi,
I'm trying to enable/disable text_box which is dependent on select_list option, select_list is dependent on radio_button.
I'm able to enable/disable select_list using radio_button options, but I'm unable to handle text box which is again dependent on this SELECT_LIST item.
under html header page:-
<script type="text/javascript">
function disableOnValue(o)
if (o.value == 'Y')
document.getElementById('P86_Select_list_item').disabled = false;
else
document.getElementById('P86_Select_list_item').disabled = true;
document.getElementById('P86_text_box_item').disabled = true;
</script>
<script type="text/javascript">
$(document).ready(function()
$('#P86_Select_list_item').change(function()
if($(this).val() == 'Other')
$('#P86_text_box_item').attr("disabled", false);
else
$('#P86_text_box_item').attr("disabled", true);
</script>
under Region_Source of the region, whose Display point :- <b>Before Footer</b>
<script type="text/javascript">
if(document.getElementById('P86_radio_button_0').checked == true)
{disableOnValue(document.getElementById('P86_radio_button_0'));}
else
{disableOnValue(document.getElementById('P86_radio_button_1'));}
</script>
and under Radio_button item, HTML Form Element Attributes :- <b>onchange="javascript:disableOnValue(this);"</b>
also same way under text_box item , HTML Form Element Attributes :- <b>disabled</b>
any help
Deep

Thanks for replying Ben,
I have kept an example into apex workspace
workspace:- DEEPAPEX
username:- [email protected]
password:- walubu
application "Javascript" page 1
I'm able to enable/disable Select_list item & Text_box item with the help of Radio_button item(depending on user select yes or no option of the radio button)
But after selecting Yes option of the radio_button, only when user select "Other" option of the Select_List item the Text_box should be enabled otherwise it should be disabled for any of the options of the Select_list item.
I hope you understand my point.
Deep

Similar Messages

  • How can I re-enable "Disable Protection on This Page " option?

    Accidentally chosed option Disable Protection on This Page instead of Not Now.
    Because of that my antivirus program is launchig warnings very often.
    It bothers me a lot and scares me.
    Please, help me.
    Thank you.

    The warnings may be related to content injected by an add-on. You may check for unwanted extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable.
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Does that help?
    If you do find anything suspicious, it would be a good idea to also:
    (1) Go to the Windows Control Panel, Add/Remove Programs, and click on the Installed On column heading to bring the most recent additionals to the top. You may be able to remove crap here.
    (2) Supplement your regular security software with some additional "on demand" scans using the clean-up tools listed in this article: [[Troubleshoot Firefox issues caused by malware]].

  • Enable/Disable Button Depending On User Role

    Hi all,
    I have some buttons in a portlet. I have consumed this portlet in a webcenter portal application. Now i want to disable/enable these buttons according to the user role. How can i achieve this??
    Thanks,
    Dhiraj

    Thinking aloud,
    - should the button be a resource from Webcenter, you could modify its visibility (property) via EL: #{WCSecurityContext.userInGroup['Administrators']} will display the button only if the user is in Administrators group
    - does your portlet have a parameter like that? If so, you should be able to fill it in with EL. If not, I doubt you will be able to achieve visibility changes - you might try to contact the producer of your portlet to do the necessary changes, though.

  • Enable/disable zoom depending on some conditions

    Hi All,
    I am trying to enable zoom functionality by modifying the custom.pll.
    Click on zoom will take to a new form which has 2 fields carried over from the calling form.
    Now the requirement is "Only if there is a record in the called form the zoom should be enabled."
    I have added the following code in the custom.pll
    form_name varchar2(30) := name_in('system.current_form');
    block_name varchar2(30) := name_in('system.cursor_block');
    blk_status varchar2(10) := NULL;
    begin
    if (form_name = 'FNDPOMPO' and block_name = 'PROFILE_OPTIONS') then
    message('Inside If');
    blk_status := get_block_property(block_name, STATUS);
    message('Block status is ' || blk_status);
    if blk_status != 'NEW' then
    return TRUE;
    else
    return FALSE;
    end if;
    end if;
    end zoom_available;
    But I see the message "Inside If" and "Block status is NEW"
    When the form is opened, but when i query for the records, these are not displayed again.
    I tried adding the logic to the Event procedure in custom.pll.
    In the event function, if the event is zoom and the parameters to be passed to the new form are NULL...
    then a message is displayed on click of the zoom.
    But the zoom will still be enabled.
    How to disable the zoom itself when the parameters have no values?
    Please let me know how to get this done.

    First and foremost, the Zoom functionality is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    The drop-down list displays items from your History and/or Bookmarks.
    You can control what shows (or nothing at all): Options > Privacy, "Location Bar" section. Options are:
    *History and Bookmarks
    *History
    *Bookmarks
    *Nothing
    See --> https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Enabling/Disabling PDF in Browser Option (Acrobat XI)

    Firstly, know that yes I understand that this setting is no longer found in and handled by Acrobat XI and that to enable or disable PDF in browser setting you enable/disable the add-on in IE (or other browser).
    In the hopes of making it more straightforward and convenient for users to toggle this setting, one option is being explored to create a custom Javascript action in Acrobat to write to the user registry to turn this on/off.
    Is this feasible? Can Acrobat JavaScript actions read and write to the user's registry? As we have a collection of users that need to regularly toggle this setting (for reasons I won't go into here), it would be ideal to have an easy and straightforward means to change this setting. One possibility might be a custom Acrobat JavaScript action.
    Thoughts, suggestions, ideas?
    Thank you

    Thank you. Forgive me but I want to make absolutely certain...in no way can a custom Acrobat JavaScript action change the user's registry. Is this correct? A pointer to official documentation stating such would be excellent. I have to convince someone not easily convinced

  • Disable the Copy and Paste option in keyboard [Textbox control] Windows phone App

    In Windows phone 8.1 WRT app, I want to disable the copy and paste option in the keyboard for the textbox control
    Please let me know if any possibilities and if you have the code snippets Please share it .

    Hi Ruthradevi,
    As I know we have no way to disable the copy and paste option in the keyboard.
    Why do you want to disable it, can you explain more about your scenario?  Let's see if we can make a similar function like you required.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do i enable/disable call waiting option in iphone5

    How to enable/disable call waiting option in iphone5. setting --> phone does not show up call waiting / call forwarding options

    I've gone through your message completely, if you do not have the Call Waiting option under Settings > iPhone it means your carrier does not let you access that feature on the phone. Contact them and see if they have dialing codes to turn it off and back on.

  • Keyboard shortcut enable/disable transfer option (Brush Panel)

    Is There a way to assign a keyboard shortcut to enable/disable the transfer option in the Brush Panel ?

    Not sure for Mac, but in Windows I can enable, disable or change this option. However, according to https://support.skype.com/en/faq/FA12024/what-are-hotkeys-and-how-do-i-use-them-mac and https://support.skype.com/en/faq/FA12074/what-keyboard-shortcuts-can-i-use-with-skype-for-mac-os-x seems that these options are available for Mac OS.

  • Microsoft Project does not open; Even after enabling the project from Options - Addins - enable the Disabled file in the Manage options.

    Dear experts
    I have two issues for which I seek help.
    1. My Microsoft project does not open, hangs, no matter how many times I disable the Options -> Addins -> enable the Disabled file in the Manage options.
    I also copied the file and tried. It has no previous versions. Any advice
    I plan to open this in 2013 version of Project later but I really need your advice.
    Regards

    Hi Protocoder,
    If I understand well, this is a 2013 mpp file that you want to open with Ms Project 2013? Then you get Project hang? Are you using Project Server as well or just the standalone MS Project version?
    Can you reproduce this issue with other files or just this file?
    Your file might be corrupted, try this
    method, export the file as XML and saving it back as mpp.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Why can't we simply have an option to enable/disable Javascript on sites again in the settings for Firefox 27? Suddenly my Gmail attachments won't open. Gmail.

    Suddenly my Gmail attachments have stopped opening, and I receive the message: JavaScript must be enabled in order for you to use Gmail in standard view. However, it seems JavaScript is either disabled or not supported by your browser. To use standard view, enable JavaScript by changing your browser options, then try again.
    I found a Mozilla support thread where it was explained that Javascript has been turned off for a while in FF. OK. Then there was a complicated answer about how you could still turn it back on by typing in a config code into the address bar. What? Or, you could download an extension to do that for you. Why?
    Please-- if you really feel like users can't be trusted, and Javascript must be turned off, at least bring back the ability to enable/disable Javascript on a per site basis in options, without having to know code. It's Gmail.
    Thank you.

    There is nothing on that thread that says Javascript is turned off by default. to quote:
    "In Firefox 23, as part of an effort to simplify the Firefox options set and protect users from unintentially damaging their Firefox, the option to disable JavaScript was removed from the Firefox Options window.
    However, the option to disable JavaScript was not removed from Firefox entirely. You can still access it from about:config or by installing an add-on. "
    The UI checkbox to disable Javascript was removed, but the option still exists in about:config (which isn't code btw, it's just preferences), nor was Javascript turned off by default, in fact the opposite is true, it is enabled by default with the option to disable it made a little more difficult to find, as only advanced users need to disable Javascript.
    Please try to clear the cache and cookies for gmail, let's see if those are causing problems. [[Delete cookies to remove the information websites have stored on your computer]], [[How to clear the Firefox cache]]

  • Disable recently used documents list in Acrobat X?

    Anyone know if there is a way to disable recently used documents list in Acrobat X?

    You can reduce the file count to 1 (under Preferences) but cannot turn it off completely.
    For info on clearing the list manually, see this post:
    http://acrobatninja.blogspot.com/2010/11/clearing-recent-files-lists-in-acrobat.html

  • There is no enable/disable 3g option in iphone 4s, when will we have this option

    There is no enable/disable 3g option in iphone 4s,
    It is missing.  2G provide me that better cell coverage and less battery use.
    When will we have this option? İ dont need 3g in my daily usage, rarly i need to use 3g to get big files.
    Do we have this option in ios 5.1 we must have this!

    "When will we have this option?"
    There is no reason to believe that this will ever be an option.

  • After upgrading to 3.1 - 3G Enable/Disable option gone!!!!!!

    Hi all!
    Wow - so much trouble for a software upgrade
    I've upgraded my iPhone 3G (legal one - read: not jail broken or anything ) to 3.1 and now the switch which will enable/disable 3G network is gone ( I just don't get it ). I've tried to do a restore to a new phone: no luck, I've tried to downgrade to 3.0 ( iTunes 9 ) ... absolutely no luck whatsoever. This is just great. Now my iPhone will constantly flicker between "E" and "3G", and thereby consuming a lot of battery just switching between networks.
    Anyone else with this issue?

    Hi all!
    I think I have a 'fix' for the issue. As it turns out, my local carrier "3" are somehow experiencing this on several iPhones at the moment starting this morning Sep. 10. So, I guess I'm not the only one. Which is nice.
    So, it's a carrier problem, not a messed up update.

  • Enable/disable fields in Workspace form

    Okay here is my scenario. I need to disable some fields on a form depending on which user logs onto workspace to open the same form.
    1. User1 logs onto workspace and opens leave request form, fields at the top of the form are enabled for the user to fill out, bottom fields which are for leave request administrator to fill out are disabled but visible.
    2. User1 fills out top portion of leave request form and completes form. Workflow sends form to leave request administrators "To do" list in Workspace.
    3. Administrator opens up submitted form in Workspace and sees User1's filled out data on the form and the bottom fields are now enabled for administrator to approve or dissaprove. Bottom fields only include two check boxes, two text fields and one date field.
    Now how is this done? I am sure their maybe scripting involved? if so what is it and at what events in the form? Is this whole process done in the form or through Admin UI or Workebench as well? Please help!!!!!!!!!

    Hi Rahat,
    You can use the same form and enable/disable some fields according to the user's role with only little scripting. Review the steps the below:
    1-First place a hidden field ("user_role") in your form
    2-Insert a script object into your form onder "Variables" in object hierarchy and write a script for enabling/disabling the fields (regarding the value of "user_role")
    3-On the initialize and change events of the "user_role" call your script object
    4-On your process design, put a SetValue service before User tasks. In the asssignment you should set the desired user_role to the form, so that the script is triggered in your form and the fields are enabled/desiabled
    Fro further needs on your form or process design you can contact us from: http://www.kgc.com.tr/company_Contact.html
    Oguz
    http://www.kgc.com.tr

Maybe you are looking for

  • Opening and closing osk form java program on windows 8

    Hi I want to open Osk when ever I click on any text field in windows 8. I tried in below mentioned way to open and close but it is usefull. could some body help in opening and closing osk properly on windows 8 Opening OSK: builder = new ProcessBuilde

  • Oracle Text and Custom item type

    I have a custom item type defined that has custom attributes. With Oracle Text disabled, I can use a custom search to find these items either by their standard attributes (name,description, etc.) or their custom attributes. However, as soon as I enab

  • Mac mail crashes on cmd-w (close window)

    Hello, I'm using a retina display MBP with mountain lion. When I run the shortcut cmd-w (close window) on mac mail, it "unexpectedly quits". Any ideas as to why, and how to solve it? Many thanks, Pedro.

  • Why doesn't iTunes detect iOS 5 for my iPod

    I recieved an email from Apple today saying that I could now download iOS 5 on to my iPod. When I connected my iPod Touch 3rd Gen. and clicked the check for updates button, it came up with a message saying that my iPod is up to date (with version 4.2

  • SYNC MOVIE

    Recently rented some movies. Cannot seem to sync movies to iPhone 4 regardless of method used. Movie only seems available to watch on the PC in iTunes. Did not rent HD, only SD. Sync process shows movie (video) size in bar on bottom of screen which s