Change Dropdown Checkbox based on another component value

I want to put a stop to a checkbox if a drop-down list next to her has been used.  Let me illustrate:

I have a form that is sent to a long with a number of events to subscribers.

He would have a box next to what is sent.

[] Enclosed is your {drop down list with several names of policy}

[] Enclosed is a check {dropdown for various reasons}

It would be awesome if I could put a check in the box if the user active then selects a value from the associated drop-down list.

So if I use the above example and use the second dropdown because they send a refund check it would put the check in the CheckBox10 object once I chose the "refund policy" item of this list (or any element not the default).

Appreciate very much all the advice.

Thanks for looking,

Hello

Assuming you are using a checkbox for the power switch default values 1 and 0, then this JavaScript code in the case of calculate of CheckBox10 should do so;

DropDownList1.isNull? 0: 1;

Just change the DropDownList1 to match the name given to let you down CTRL key.

Concerning

Bruce

Tags: Adobe LiveCycle

Similar Questions

  • tell - or activate the component based on another component

    Hello
    I use JDeveloper 11.1.1.6.0, I thought that this should be very easy. But the way I have tried does not work.

    I have an empty component, when this component is filled with an entry valid, another component should be enabled.

    In a bean support, I have a Boolean attribute, this attribute of the other component must be disabled or enabled.
    So, I set the disabled with EL in my Boolean attribute property. The Boolean attribute is modified according to the value of the first component.
    Now, when I put a value to my component (autoSubmit = true), the second component must be enabled, but nothing happens.

    I forgot something?

    Thanks in advance.

    I forgot something?

    Yes - set the partialTriggers on the second part of the ID of the first part.

    http://MyFaces.Apache.org/Trinidad/DevGuide/PPR.html

  • change LOV based on another field value

    I have a need to change the LOV selection list element of a page based on the selection in the selection list on the page another element. In other words, for a page element that is a selection list, so I need to use a LOV normally and a different LOV if the value of a different page element is set to X.

    Dynamic action would be useful here (change where select list 1 = x), but I do not know how to take the measurements of the evolution of the LOVsfor select list 2 based on this action.

    Thanks in advance!

    John

    Assuming you are using apex 4.0 or later...

    Article P23_GEAR

  • Select P23_GEAR_TYPE as "LOV cascade.
  • Place the items P23_SEASON, P23_FIELDOFFICE as "Page Elements should send"
  • Put the SQL query

    select distinct gear_code d, gear_code r
    from gear_lk
    WHERE :P23_GEAR IS NULL OR :P23_GEAR != 'S'
    UNION
    select distinct gear_code d, gear_code r
    from season_gear_office_lk
    where season_code = :P23_SEASON
    and field_office_code = :P23_FIELDOFFICE
    and  :P23_GEAR = 'S'
    

    It will be useful.

    Kind regards
    Hari

  • ListView, title change to header based on the stored value.

    Hello

    I'm new to native development, always trying to get a hang of how things are done in QML. I was wondering how it was possible to format the header in the ListView based on the value of the header. For example, the datamodel is sorted by name and status. Status is stored as an integer 0,1,2,3,4,5 in the database. Whenever the ListView displays the headers, I want to show the actual title of the State (for example in progress, completed) instead of display 0 or 1.

    Thank you for your help.

    If... else if... else must have worked well, please send your code.

  • Make a visible element based on another component whether or not visible

    I have a button component that I want to only be visible when a tilelist in my application component is not visible. I tried the following code in the button tag, but it doesn't seem to work: -.

    visible = "{profile1urlList.Visible = true}" "

    I think so

    set visible = "{! profile1urlList.visible}" should be enough. "  Sorry put a '!' (exclamation point in front of the 'profile1urlList.visible' should do)

  • Change the report based on the selected value frm the prompt

    Hello

    I have a requirement where we invite dashboard that has three columns namely year, month, and report the name.
    The user will choose the name at the prompt report, once made the report that was selected should appear
    on the dashboard page and he should be able to select the data on the basis of the month and the year of it.

    Also, if the user wants to go to the other report it should be able to select in the guest and view it.

    Pls enlighten us on the way of progress on this issue. From now on, think that if something like this is possible, then it would definitley
    need two prompts a report name and one for the month and the year.

    THX :)

    Are you looking for this?

    http://oraclebizint.WordPress.com/2008/01/17/Oracle-BI-101332-selecting-reports-from-Dashboard-prompts-and-guided-navigation-sections/

  • Dynamically create checkboxes based on a value in a table

    Hi friends,

    I am looking for crerating several checkboxes based on a value in the table. For example if I'm clicking on a name of 'material' in a report, I need to show all interfaces for equipment like the checkboxes in another page. There is a table that contains interfaces corresponding to a particular equipment. The box should be checked if this particular interface is "put into service". This info is present in the table "provisioing. How can I achieve this. Help, please.


    Kind regards
    TJ

    The display order of your boxes depends on your SELECT statement, just put an ORDER BY in there, and you can do whatever you want.

    Don't forget: the LOV-statement must select all of the possibilities, with the process, you set the provisioned to checked.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to get the ActiveX component value change event?

    Hi all

    LV 8.6.1

    I try to get the ActiveX component value change event. I covered forum and through examples, but I can't get an idea of how "Recalling vi. For example, in the example 'ActiveX event Callback for IE.vi' it is used "recall vi". I've added an example where the change event of value with the mouse to the bottom of the event are scheduled to the structure of the event. Mouse down event OK work but change the value no. Can anyone describe what I need to add to my example vi who value the change event works fine?

    BR, Jim

    Here is the solution! "Value changed event" is not performed in the structure of the event, but in "Reminder VI".

  • Get the cumulative values in a single column based on another column in reports

    Hi all

    I have a requirement to get cumulative values based on another column.
    I 'Sales rep name' in the first column.
    Correspondent "Values of the invoice line" in the second column.
    Want to have cumulative of all the values for each sales invoice line.
    Then apply rank and display the top 10 sales reps based on invoice lines.
    Since there is no rank option in the PivotTable, I do this in the report table.

    Looking for the best entries...

    Thanks in advance...

    Try below
    2nd column: "name of Sales rep.
    column 2: SUM ("invoice line values ' BY 'Name of Sales rep'") and sort this field desc.
    3rd column: fx RANK (SUM ("invoice line values" BY "Sales rep name")), to hide this column, so that you don't confuse your users.

    and put the filter on the 3rd column below 5

    I hope this works for you

  • Default value for the prompt based on another request

    Hello:

    I have a requirement where I need to define default values of messages based on another request.

    The guest is a quick Date.

    I have tried using the presentation variable and sql query writing, where is written "WHERE promo_id = @{variable}" "

    but it still does not.

    Please let me know a workaround for this problem.

    Thank you.

    -Vinay

    What determined your operator BETWEEN End Date? I guess it's variable. In addition, is the second report on the same page or another page of dashboard? Assuming that the two reports are on the same page, do the below. If this isn't the case, you can use the same guests on the second page of dashboard. Define the scope of "dashboard" and the selection of the user is wearing on the second page.

    The easiest way is to have 3 guests of dashboard: Promo_ID, Start_Dt and end_date. assign to these guests PVs: pvPromoID, pvStartDate and pvEndDate, respectively.

    Filter a report on pvPromoID and pvStartDate.

    The second report on the pvPromoID of the filter and use pvStartDate in the filter of the two report Date column. Assuming that the values BETWEEN are variable, so you can write the following on the column of your second report:

    "Table name". " Date ColumnName.<= '@{pvstartdate}'="" and="" table="" name"."date="" column="" name"=""><>

    And your Promo column, use the filter "Table name". "Class = ' @{pvPromoID}"

    When the user selects the Promo ID, Start Date and end Date in the guests, the first and second reports will be filtered accordingly.

  • Display list items based on another element of the list

    Hi all

    I want to display the list item based on another element of the list, but his does not work.

    This is my code:


    / * WHEN-NEW-FORM-INSTANCE * /-his work.
    DECLARE

    rg_district recordgroup;

    rg_name VARCHAR2 (40): = "district";

    vtemp NUMBER;

    BEGIN

    rg_district: = FIND_GROUP (rg_name);

    IF ID_NULL (rg_district)

    THEN

    rg_district: =.

    CREATE_GROUP_FROM_QUERY (rg_name,

    'select dist, dist district_mas.

    );

    vtemp: = POPULATE_GROUP (rg_district);

    POPULATE_LIST ('BLOCK3.) Of RIDING ", rg_name);

    END IF;

    END;

    * / CHANGED AFTER a - list * /-does not work. Cannot complete the list based on the list

    DECLARE

    rg_branch recordgroup;

    rg_name1 VARCHAR2 (1000): = "branch";

    vtemp NUMBER;

    BEGIN

    rg_branch: = FIND_GROUP (rg_name1);

    IF this is ID_NULL (rg_branch)

    THEN

    DELETE_GROUP (rg_name1);

    rg_branch: =.

    CREATE_GROUP_FROM_QUERY

    ("rg_branch",

    "SELECT FROM dist_branch WHERE district IN branch (DIST DISTRICT_MAS WHERE DISTRICT = SELECT').

    || : BLOCK3. DISTRICT OF

    );

    vtemp: = POPULATE_GROUP (rg_branch);

    POPULATE_LIST ('BLOCK3.) Branch of THE ', rg_branch);

    END IF;

    END;

    Table:

    CREATE TABLE DISTRICT_MAS

    (

    DIST VARCHAR2 (100 CHAR)

    );

    CREATE TABLE DIST_BRANCH

    (

    NEIGHBORHOOD VARCHAR2 (100 CHAR),

    DIRECTORATE GENERAL OF THE VARCHAR2 (100 CHAR)

    );

    Values:

    insert into district_mas values ('chennai');

    insert into district_mas values ('coimbatore');

    insert into dist_branch values ('chennai', 'chennai_north');

    insert into dist_branch values ('coimbatore', 'Podanur');


    Concerning

    Nassik M

    I tested the code below when the list has changed


    DECLARE

    rg_branch recordgroup;

    rg_name1 VARCHAR2 (1000): = "branch";

    vtemp NUMBER;

    QT VARCHAR2 (10): = "';

    BEGIN

    rg_branch: = FIND_GROUP (rg_name1);

    IF this is ID_NULL (rg_branch)

    THEN

    DELETE_GROUP (rg_name1);

    END IF;

    rg_branch: =.

    CREATE_GROUP_FROM_QUERY

    (rg_name1,

    'SELECT branch, branch OF THE DISTRICT WHERE the dist_branch =' | QT | : BLOCK3. DISTRICT OF | QT);

    vtemp: = POPULATE_GROUP (rg_branch);

    POPULATE_LIST ('BLOCK3.) Branch of THE ', rg_branch);

    END;

    Hope it's work...

    Hamid

  • BC4J editable attribute based on another attribute

    Hello.

    Is it possible to define updatable (read-only) on BC4J, based on another column. For example if attribute a == true which attribute the (Always) b.setUpdatable of other b.setUpdatable (Never). By definition, changing Updatable property to EO/VO for each line is an absurdity. Or not?
    I know how to do it on ViewController (set ReadOnly property expression EL provided you attribute a different value) but don't know how to do (if it is possible) on model?

    THX

    Concerning
    Zmeda

    zmeda,

    You can override isAttributeUpdatable() on your EntityImpl or ViewRowImpl classes

    John

  • void / vi based on the Boolean value

    Hello

    I have a main vi and I want to call a subvi based on a Boolean value, that is when the Boolean entry gets the true value, the sub - vi must run, otherwise it shouldn't.

    To do this, I added the Boolean control component connector of the sub - vi and I added a while loop in the sub - vi, which has 'continue if true' condition. I also made this point prescribed to the subvi.

    However, I noticed that even if the Boolean value false maintains execution of the sub - vi.

    Can you get it someone please let me know what the problem with this approach?

    Thank you

    Despres

    Put the Subvi code (or the Subvi set) inside the true case of a case structure and wire your boolean to that.  I prefer the second option.

  • Based on another selection LOV LOV

    Hello

    Apex Version: 4.2

    I struggled to get a LOV to be based on the selected value of an another LOV on the same page without submitting the page.

    For example. I have two LOV ' page.

    The first is a LOV region and the second is a LOV box.

    I want the list returned by the LOV area to include only the areas of the region which has been taken from the area of LOV.

    Is this possible without having to submit the page?

    I'd appreciate any help.

    Concerning

    Dominic

    Maguzzi wrote:

    Apex Version: 4.2

    I struggled to get a LOV to be based on the selected value of an another LOV on the same page without submitting the page.

    For example. I have two LOV ' page.

    The first is a LOV region and the second is a LOV box.

    I want the list returned by the LOV area to include only the areas of the region which has been taken from the area of LOV.

    Is this possible without having to submit the page?

    Integrated support in cascade LOV is addressed in the documentation.

  • How do column filter based on another column

    In my report, I have column a thru d. I would like to create a filter based on another column where column is column B. I can enter a value that the column cannot be equal to, but I would use a column instead of a value.

    Thank you.
    Jonathan

    Try this: icon on the filter columns->-> convert this advanced filter for SQL
    You can reference any other column

    BTW: Have you had a chance to look at my suggestion for your post
    Tables from a Table

Maybe you are looking for

  • Best way to connect several hard disks

    HI - since getting my new Mac Pro, I worked with two hard drives of 12 to promised Pegasus 2 Raid-5.  They have been great.  But my video player started to get crazy and so I bought two backup drives WD - 8 to, one to save the key on each PP2 files. 

  • How can I open a document without usb HELP! Pleaseeeeeee

    Well yesterday I recorded my work in my find today icant void my USB so im reallly upset and im trying to figure out is possible can I get my documents without this cause usb that I can't

  • Errors during the attempt to change the hotmail password.

    I'm trying to change my hotmail password. When I get back the current password and the new password it says the password is not valid and yet I can sign my account with the same password. Help!

  • App Podcast of blackBerry for Curve Smartphones

    I got my curve for a month now and still does not know how to access the podcasts! Found this link to download the podcast app: http://ca.blackberry.com/apps/blackberry-apps/podcast.html#tab-1 The page lists the system requirements (I have them all):

  • CD rom on my hp Pavilion has stopped working.

    given the following message "Windows cannot start this hardware device because its information of configuration (in the registry) is incomplete or damaged. (Code 19) » any thoughts?