How to enable and disable a field dependent on another field in the Apex.

Hello

I'm new to Apex. IM using Apex Version 4.2.

I have a tab named CREDITS he has 10 fields. Among them is PROJECT NUMBER, AUTHORIZAION DATE (CALENDAR TYPE POPUP), and FUNDS FLAG CHECK.

NUMBER of THE PROJECT , the fields are filled, including the FUNDS VERIFIER FLAG is based on the scenario.

But the AUTHORIZAION DATE is a REQUIRED field must be filled in by the user

The requirement is to make DATE AUTHORIZAION as MANDATORY when the FUND CHECK FLAG is * "VIRGIN" * or * 'Y' * ' "

If the FUND CHECK FLAG is * "N" * then the DATE AUTHORIZAION to bring in OPTION.

Any help will be greatly appreciated...


Thank you
Vishal

You will not be able to get the answers here, post your question in the appropriate section after mark this thread as answered

"Oracle Discussion forums" Oracle Database "Application Express

Tags: Database

Similar Questions

  • How to enable and disable a button depending on the value of a field

    Hello experts,

    I enable and disable a button depending on the value of a field.

    I did the following:

    in a trigger of on_new_form_instrance I put the following
    begin
         
    go_block('OE_HEADER');
    execute_query;
    IF :oe_header.status = 'BOOKED' THEN        
          SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_FALSE);
    else
         SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_TRUE);
    end if;
    
    
    end;
    the problem is that it works but does not change when my header_status value is changed.

    You have to put the same code in when-validate-item trigger of: oe_header.status...

    and I think that this code should be trigger after query

    IF: oe_header.status = 'RESERVED' THEN
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_FALSE);
    on the other
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_TRUE);
    end if;

  • How to enable and disable, copy or rename the rules via the groovy script?

    A client, we received this question:

    How to enable and disable, copy or rename the rules via the groovy script?

    Foglight 5.7.5

    Hello

    There is this example of support KB

    support.Software.Dell.com/.../99059

    and there is also documentation of Service layer of the administration on the RuleService console.

    Best regards

    Golan

  • How to enable and disable a simultaneous program to a Pl/sql Package

    How to enable and disable a simultaneous program to a Pl/sql Package

    I just want to know why this not prvent not the program to run, it updates the backend for open State helped N, but not in Frontend.

    If you can advise on the same.

    Did you use the API to change the ENABLED_FLAG of 'Y' "N"? If so, you commit the changes? What happens if you ask this program contributing to the application (simultaneous > program > set), can you confirm that it is disabled then if this has been done since the backend? The program remains active after the deactivation of the application it?

    Thank you
    Hussein

  • HP EliteBook 840 G2: How to enable and disable NFC on HP EliteBook 840 G2

    Hello

    1. Please help me how to activate and deactivate the NFC on HP EliteBook 840 G2?

    2. what I have have Bluetooth activated on 930 Lumia and be paired with HP EliteBook 840 G2 if

    I want to send the image of Nokia Lumia 930 file (Windows Phone 8.1) for HP EliteBook 840 G2 with

    Windows 7 Enterprise 64-bit?

    3. is it possible to transfer images between Windows 7 64 bit on HP EliteBook 840 G2 and 8.1 of Windows Phone?

    Thanks a lot for any advice.

    R,

    Marek

    Press the power button and press the ESC key to call the start menu.

    Now, press the F10 key to access the BIOS.

    Click on the tab advanced, as shown in the image below.

    Under the heading device settings, click integrated device options.

    NFC is activated when there is a check mark in the field of NFC and disabled when the tick is removed and the change is saved.

  • How to enable and disable the buttons on the table

    Hello

    My requirement is that I need to activate or disable the button on the table, if there is no result then I need to turn off the button other wise, I need to activate the button.

    I drag the primary key field on the page as an entry filed the false set visiable page abandoned and set the partial trigger as table and disable button is

    Disable = ' #{bindings. " AuthorizationNumber.inputValue not 'null'}', but the button is still crippling it allows not when I have data.

    where I am doing wrong?

    Note: this view is read-only view, I can't use undo disable features here.

    Published by: user5802014 on May 22, 2010 12:36

    Try the following:

    * Disable = ' #{bindings. " AuthorizationNumber.inputValue == null} "*"

    This will disable the button when the AuthorizationNumber is null.

    You can also use the current row of the iterator:

    * Disable = ' #{bindings. " YourIterator.currentRow == null}. "

    Nick

  • How to enable and disable the part of the "control panel".

    I want to know if part of the control panel can be turned on and off by an external action, to use the mouse or a Boolean variable. Someone has an idea that help color? Thank you

    Ricardo

    You can disable cookies by using the node property and ownership "Disabled". You can create a tab control and disable the entire tab control that will disable all inside of it.

    To do this programmatically, set up your code with a structure of the event and create an event when the user changes the value of a button or click the mouse.

    See the example I did:

  • How to build and publish webhelp html files in another folder than the default folder

    Hi all

    I'm new to using robo. I have a requirement to build and publish webhelp html files in a different folder from the default folder.

    Could someone tell me please the steps to change the folder

    Thank you

    Rashmi

    You change the name in the first field in the first page of the wizard and the file to generate. It must be a folder on your hard drive.

    You change the publication record in the last page of the wizard. Wherever you want to.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • How to enable and disable the task by sign?

    Hi guys,.

    I finished the service IID_ISTARTUPSHUTDOWN to call the task start durning...

    My quest is, I need to start the task, when the Panel is turned on.

    Please advice how to solve the above problem.

    Reference sdksamples/tableattributes.

  • How to enable and disable items in a control of Enum

    I have two enum control a value change event in a single enum I want to hide or diasable control elements in the other control enum.

    Thanks I got it.

  • How to enable or disable a paragraph based on a condition in the BIPS

    Hello reading,
    <? country? >
    How to display a line based on a condition in the DARK...
    I have a tag as a country that has the value zero or in India, I shouldn't show paragraph
    para should be included
    and also, I don't want the line below to access his location

    How can I do this...
    pls help

    I sent you the code to achieve this. Take a peek inside.

    Thank you
    BIPuser

  • Enable and disable the buttons depends on the connection of the user?

    How to enable and disable the buttons depends on the connection of the user?

    In fact I have a few buttons as remove, add, save, exit, it etc., zero page...

    depends on the user , I have to turn on and off specific keys.


    Thanks and respect,
    SKUD.

    Hi Skud,

    In fact Jeff's response are correct and handles the problem. I want to mention another way,

    Change the desired button > navigate to Conditions > Pick (exists SQL query returns at least one row) > Expression 1, enter code similar to the following:

    Select TOP (: app_user) where double UPPER(:app_user) in ('FATEH","MARY")

    Best wishes
    Fateh

  • How to disable certain fields in the form of a calculation with a checkbox for the fields.

    How to disable certain fields in the form of a calculation with a checkbox for the fields.

    In Canada, we have taxes

    I create a form that allows them to calculate a total

    Shema-pdf-form.gif

    I need to be able to turn off all of those taxes to participate in the calculation and to their field visible should be 0

    I was thinking about using a check box (when the checkbox is enabled (Yes) the tax is calculated, unchecked (Off) the tax is not calculated and visible field should show 0 or anything...)

    I really need help on this one, I am a complete newbie...

    Note that the second tax is calculated on the sum of what the first tax Add (tax first is pan-Canadian tax (all provinces).

    The second tax is never only use (Quebec only (in addition to one Canadian)

    Sometimes to sell outside Canada - no tax at all is calculated...

    What should I do?

    Yes, it's just the JS...

  • Enable and disable the item based on the Condition

    Hi Experts,

    I work in the form of 10g, I conditionally.

    I have the block master detail.

    Master block contains sub elements.

    CUSTOMER

    Address (read only) - no database element

    PRODUCT GROUP (read only) - no database article

    Note: The CUSTOMER is LOV, when I select the customers, I'm failing address and product group.

    Block detail contains sub elements.

    DATE OF START OF BLOCK

    DATE OF END OF BLOCK

    REASON

    Note: when I opened form all fields of retail blocks are enabled

    Requirement:

    1. when I created new record, at the time where I select the customer name, Bill and product group will be by default, in the block of detail - I want to activate and deactivate the block start date based on the value of the product group.

    2 if I erase block master, I need to activate the block_start_date like back when the new form is opened

    3. when I search the data also, block start date must be enabled and disabled based on the value of the product group.

    Could someone help me the best approach to achieve so that she will have no side effects.

    Thank you

    801619 wrote:

    Hello

    Thank you for your response... I have tried code trigger after change of category of products below.

    If: blockname.product_group = "Aviation" then

    set_item_property ('block.block_start_date', enabled, property_false);

    On the other

    set_item_property ('block.block_start_date', enabled, property_true);

    end if;

    1. it is disable the Group field when I put the cursor inside if the product category is "Aviation", but I want it to be automatic at a time where it will default to the value of product category.

    2. If the master clear record, is not allowing return product group

    3 suppose that if enter new record category of products "Aviation", once I put the cursor inside, it's debilitating, let's say if I erase the main recording without saving the changes, it not again allows the Group of products, it is now status (disable) previous.

    4. in query mode, it is not disabling or enabling from a group of products.

    Help, please.

    Thank you

    Ok.

    1. put your code on this trigger after changing point that fills the default value in the product category.

    2. remove the trigger after change of product group.

    3 put the same code to trigger once - new - Record - Instance of the main block.

    Hope this helps

    Hamid

  • enable and disable a group of checkbox checked and unchecked, a checkbox

    Hello

    I have a form of livecycle. I want to enable and disable a group of checkbox checked and unchecked, a checkbox. can u pls help me?

    Thank you

    Ali

    Please check that you follow the procedure...

    Create a script object to create the toggleAccess function

    LiveCycle ES2 * Adobe LiveCycle Designer ES2 (How to create a script object)

    LiveCycle ES2 * Adobe LiveCycle Designer ES2 (How to reference an object of script PDF Forms)

    You can download the form, you sent me with the script object implemented as explained here:

    936968a098afc8ab320334a2c0ab4c73.PDF - Google Drive

Maybe you are looking for