Checkbox  marked as checked

Hi,
I would like to mark a checkbox as checked depending on a column value.
Example:
Data for the columns PROD_ID, PRODUCT, PRODUCT_COLOR stored in table PRODUCT.
values:
1, T-Shirt, green
2, shoes, yellow
In a form for updating this columns the costumer have the ability to change the color of the products with checkboxes.
The old stored value for the color should be shown in this form but I don't know how to manage this. Perhaps with a function body in the source of the item?
Can anybody please help me?
Thanks,
ben

I try to describe it once again to make it more clearly.
I have a form based on a wizard where you can insert data on three steps (means three pages) The wizard contains radiogroups, text fields, select lists and six checkboxes.
Let me say checkbox1, checkbox2 ... They are placed on page 1 of the wizard.
The values of all six checkboxes are stored in one column PRODUCT_PROPERTY of the table. It's recommended from the customer.
It should also be possible to update the stored data, thus I use also a wizard that is just as developed as the input wizard. For update it is necessary that the costumer see his before inserted data. In a search field he put his costumer number and will see all his ordered products and has the ability to choose the product to be changed. After this the wizard for the update erases with the stored data. I have managed this for the radiogroups, text items and selectlist with a select statment in the 'SOURCE' of the edit item section.
In fact of this I have to extract wether a checkbox value is stored in the column PRODUCT_PROPERTY or not.
The select statement for this question works fine (regular expression and ...)
My problem is how to tell the checkbox that it must be of the status 'checked' if corresponding data in the column PRODUCT_PROPERTY exists.
(In my opinion apex_item.checkbox only works for creating a SQL report and this is not what I try to realize).
I hope I could describe the problem a little more clearly.
ben

Similar Messages

  • When I clear my history, Firefox clears my browsing and download history even though this checkbox is not checked. It didn't use to do this. What can I do to fix this?

    When I clear my history, Firefox clears my browsing and download history even though this checkbox is not checked. It didn't use to do this. What can I do to fix this? I believe the problem started with the last Firefox update.

    Do you mean the "Form autocomplete" feature?
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete

  • Lsmw - How to mark a check-box

    Hi,
    I am creating a very simply LSMW using transaction MBST.
    I need to select a specific item to be cancel.
    In order to do that, at some point of the recording I need to mark a check-box.
    When I execute the BI session the action of "click" the check-box fail.
    Any advise?
    Thanks in advance

    >
    Alex Santana Almeida wrote:
    > Hi,
    >
    > I am creating a very simply LSMW using transaction MBST.
    >
    > I need to select a specific item to be cancel.
    >
    > In order to do that, at some point of the recording I need to mark a check-box.
    >
    > When I execute the BI session the action of "click" the check-box fail.
    >
    > Any advise?
    >
    > Thanks in advance
    This description is a bit short.
    when you execute MBST, then all items are checked by default.
    so you probably remove all and then want to set it for one item.
    Can you post your coding (just this one line) where you moved the X to the box?

  • CheckBox Item Renderer checks wrong grid row after sorting

    I have an advanced Data Grid that has a checkBox ItemRenderer. The underlying object being displayed (Server) in the dataGrid is being bound to the checkBox with a selectedForDeployment:Boolean property.
    I had this working just fine until the datagrid is sorted. After the grid is sorted I can click on the checkBox in row 2 and the checkBox in row 8 will be selected for instance. Or in some cases all checkBoxes will become checked. Also, if I have some already checked and then sort, the checkBox will become unchecked.
    I have an example of my itemRender below. Any idea on how I can get this to work:
    public class CheckBoxRenderer extends CheckBox
            override public function set data(value:Object):void {
                if(value){
                    super.data = value;
                    Server(super.data).addEventListener("setSelectionChanged", valueChange);
                    this.selected = value.selectedForDeployment;
            public function CheckBoxRenderer(){
                focusEnabled = false;
                BindingUtils.bindSetter(selectionChange, this, "selected");
            //this method occurs the checkbox is clicked
            public function selectionChange(value:Boolean):void{
                trace(value);
                this.selected = value;
                if(this.data){
                    this.data.selectedForDeployment = value;
            //This method occurs when the selectedForDeployment boolean in the object changes
            public function valueChange(event:Event):void{
                this.selected = event.target.selectedForDeployment;
            /* center the checkbox if we're in a datagrid */
            override protected function updateDisplayList(w:Number, h:Number):void
                super.updateDisplayList(w, h);
                if (listData is DataGridListData)
                    var n:int = numChildren;
                    for (var i:int = 0; i < n; i++)
                        var c:DisplayObject = getChildAt(i);
                        if (!(c is TextField))
                            c.x = (w - c.width) / 2;
                            c.y = (h - c.height) / 2;

    This usually works for me:
    package renderers
        import flash.events.Event;   
        import mx.controls.CheckBox;
        public class CheckBoxRenderer extends CheckBox
            public function CheckBoxRenderer()
                super();
                addEventListener(Event.CHANGE, handleChange);
            override public function set data(value:Object):void {
                if(value){
                    super.data = value;
                    selected = value.selectedForDeployment;
            private function handleChange(event:Event):void{
                data.selectedForDeployment = event.target.selected;

  • I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button. Can anyone suggest.

    I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button in webdynpro java. Can anyone suggest.

    My Apologies. The simplest way- write the following code in the action of the Submit button-
    if (<check box not checked>)
    wdComponentAPI.getMessageManager().reportException("Please accept Terms and Conditions to continue",false);
    else
         continueExecution();
    The exception message will be shown on top of the view.
    You may like to use Message Area UI element and place it at the bottom of the WD4J view to show our exception message at the bottom of the view.
    I hope this helps !
    Cheers,
    -Amol Gupta

  • Checkbox to be checked by defualt

    Hi,
    In my application page, i have 3 checkboxs, i need to check the checkboxs based on a value from DB (ie) if record exists in the table, the checkbox should be checked otherwise no.
    How to achieve this?

    Som,
    Didn't you start another thread for the same thing? I'd suggest just wait for people to respond rather than starting multiple threads.
    Anyways, check ur other thread. There are some responses there.
    checkbox to be checked by defualt

  • After firePartialAction, checkbox is still checked

    Hi,
    I have a checkbox in OAF page results table which I select and then click on a button to do something for that row. The button is having firePartialAction action type attached to it.
    Now after the button fires the action and the page is partially refreshed, I find the checkbox is still checked. I want it to get refreshed to unchecked after button click.
    Please note that its attached to a transient view attribute of the base VO which is again attached to a EO.
    Can this be done without any code in CO?
    Thanks,
    R.G.

    If your check box is attached to a view attribute you'll need to update that view attribute to "unchecked" when the firePartialAction event fires.

  • WM - Checkbox marked by default

    Hi,
    I have a little question :
    I need a checkbox to be marked by default.
    When creating a Storage Unit from a Transfer Requirement (Button "Create SU (single)"), the system leads me to a screen where the checkbox "Print SU content" is not marked.
    When I go to transaction LT07, the checkbox "Print SU content" is marked by default.
    I would like this checkbox to be marked by default in the first transaction, when creating a SU through a TRquierement.
    Does anyone have an idea ?
    Thank you very much.
    Remi

    Hello Laura
    As far as I know, this is not possible to do using customizing, however, you can do that using BAdI
    MD_PLDORD_CHANGE.
    Check the following document for more details about the BAdIs available for MRP:
    BAdIs for MRP
    BR
    Caetano

  • Checkbox: Mark All, Clear All

    I´ve got a basic problem, how to incorporate Javascript to htmldb. Stop! I´ve already read the How-To to this topic, but it doesn´t help in my case. I´ve got the HTML Code to Mark All and Clear All Checkboxes at the end of my text. My question: Where exactly and in which form must I input the several HTML Codes to start my function?
    E.g. I think, the different function´s in my code should be placed in the Page Attribute Header Field. Should I create several CheckboxID´s foe each Checkbox or does it suffice to create only one CheckboxID with different Checkboxaccounts?
    <html>
    <head>
    <script>
    <!-- Begin
    var checkflag = "false";
    function check(field)
    var i;
    if (eval(field[0].checked))
    for (i=0;i<field.length;i++)
    field.checked=true;
    LL(field);
    return "Uncheck All";
    else
    for(i=0;i<field.length;i++)
    field[i].checked=false;
    UU(field);
    return "Check All";
    function LL(field){field.disabled=true;}
    function UU(field){field.disabled=false;}
    </script>
    </head>
    <body>
    <FORM method=post name=f1>
    <table>
    <tr><td>
    <INPUT type=checkbox name=list value="Check All"
    onClick="this.value=check(this.form.list);">All<br>
    <INPUT type=checkbox name=list value="2">Air<br>
    <INPUT type=checkbox name=list value="3">Monitoring<br>
    <INPUT type=checkbox name=list value="4">Water<br>
    <INPUT type=checkbox name=list value="5">Pollution Prevention<br>
    </table>
    <INPUT class=lightbluecell style="FONT-FAMILY: verdana, arial, helvetica;
    FONT-SIZE: 10px" type=reset value=Clear>
    </FORM>
    </body>
    </html>
    I´d be pleased to get a step for step help, because I´m not adepted in this topic.
    Thank you very much!

    Yep,
    Same issue mentioned in this other thread that was started by one of the site administrators:
    Update on site issues
    It seems to effect some people to a greater degree than others.
    (For example, I'm only afflicted by a single solitary lingering one in my Communications page.)
    Since there's been no blatant acknowledgment response, we can only hope they're trying to figure out what's "broken".

  • Making textbox visible when checkbox marked

    Hi, I have Textbox child and a Checkbox child with context of type boolean. I made a TextboxVISIBLE context of type Visibility and binded it to "enabling" option of Textbox. Now how can i bind it checkbox with textbox so once I mark checkbox the Textbox appears, unmarked dissapears. Regards, Balmer.

    Hi,
    "I have Textbox child and a Checkbox child with context of type boolean. I made a TextboxVISIBLE context of type Visibility and binded it to "enabling" option of Textbox. Now how can i bind it checkbox with textbox so once I mark checkbox the Textbox appears, unmarked dissapears"
    Checkbox should have an action "onToggle" associated with it.
    //Check its selected or not,  change the code to align with your context attributes.
    if(wdContext.currentContextElement().getSelected())
       //Assuming the name of the context attribute that is bound to the visible property is "TextBoxVisibility"
         wdContext.currentContextElement().setTextBoxVisibility(WDVisibility.VISIBLE);
    else
    wdContext.currentContextElement().setTextBoxVisibility(WDVisibility.NONE);
    Regards
    Ayyapparaj

  • Change Checkbox mark Default

    I have to make a form compatible from 7 and later.
    I am currently using check marks.  looks like only the default is supported (solid circles for cirlce boxes and cross for square boxes).
    Can I change the default if the reader version of the user is 8 and later to check marks?
    Also, for some reason the Description of the Warning says "Target version does not support check mark shapes for the current file type."  even if I have it as circle, square, diamond, etc. (other than default)

    The ability to control the checkmark char was added to XFA forms in version 8 I think. Native Acrobat could do it in a version earlier than version 8 (I do not know specifically which one). So you could solve your problem by accessing the checkbox properties on the Acrobat side instead of the XFA side. It involves adding a 2 lines  of code in the initialize event of the checkbox:
    var f = event.target.getField("form1[0].Page1[0].CheckBox1[0]");
    f.style = style.di;
    Assuming that the hierarchy of the form is form1.Page1.CheckBox1
    The style can be set to one of the following:
    style.ch    checkmark
    style.cr    cross
    style.di    diamond
    style.ci    circle
    style.st    star
    style.sq    square
    Hope that helps
    Paul

  • Is there a way to automatically add a page to my current form when the user marks the check box?

    I have an existing expense report form that I created using Adobe Pro's Form Tools. The user enters all the appropriate information (ie, vendor, amount, business justification, etc.) and then it calculates all the expenses at the bottom.
    I have added a box next to each line item to be checked by the user in the case that they have an expense with a missing receipt.
    Is there a way to have a pre-existing missing receipt form, be added at the end of the expense report, each time the user marks one of these missing receipt check boxes?
    If so, is there a way to have all the expense line item data automatically fill in the information on the added missing receipt form?
    I am using Adobe Pro's Form tool rather than Livecycle because it is compatible with my IPAD.
    Thanks,

    One word: Templates
    For more information, see: page: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_Dev_Templates.80.1.html
    Unfortunately, templates don't work with Reader either, unless the document is Reader-enabled with LiveCycle Reader Extensions.

  • Checkboxes are being checked by default when they shouldn't be

    I have a form and there are eight checkboxes on it. In the server model I set the default to N. WHen i insert the records in the web form it still ticks them all (they cannot be entered by the user). To try and fix it, I set the Initial Value in forms builder to N, but its still checking them. I checked the properties in form builder, and checked is Y, and unchecked is N. What can I do to fix this - I am not allowed to regenerate from server model again, so I must fix the error either in sql plus or form builder.
    please help
    adam

    sokay it appears to have resolved itself somehow

  • Putting tick mark into check box in smartform

    hi,
       can any one please let me know if i can put a tick mark in the check box of the smartform.
       for example: i need to select one among yes or no check box. how do i do it.
       should i have to upload a graphic of the tick mark and then display or is there any provision in smartforms to do that.

    Hi,
    Check threads like
    smartform- check box
    and
    what r the steps to display check box in smartform
    Eddy
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • Checkbox: making it checked depending on column & disabling it at same time

    Hi,
    In my report region, I have a column with checkbox. The requirement is : depending on the value of a column, it should be checked or unchecked. And whenever it is checked, it should get disabled. Means the user can see that in a particular row the checkbox is checked but he cannot uncheck it.
    I have used the following query. Throw it I can see that particular checkbox is checked but its not diabled.
    select MBOI_MASTER_ID as MBOI_MASTER_ID,
    SOURCE_SYSTEM as SOURCE_SYSTEM,
    apex_item.checkbox(1,MBOI_MASTER_ID,
    CASE
    when AFFIRMATION_STATUS ='Affirmed'
    THEN 'checked=checked,disabled=disabled;'
    ELSE NULL
    END
    *) "AFFIRM_CheckBox"*
    from MAIN_INTERFACE
    This query is making the checkbox as checked but not diabling.
    If i change the query like : when AFFIRMATION_STATUS ='Affirmed'
    THEN 'disabled=disabled,checked=checked;'
    ELSE NULL
    Then its disabling it but doesnot make it checked.
    Pls give some idea

    I solved this issue by following code:
    apex_item.checkbox(1,MAIN_INTERFACE.MBOI_MASTER_ID,
    CASE
    WHEN MAIN_INTERFACE.AFFIRMATION_STATUS ='Affirmed'
    THEN 'checked=checked disabled=disabled;'
    ELSE NULL
    END
    ) "AFFIRM_CheckBox"
    Edited by: Chandra Bhanu on May 31, 2013 7:43 AM
    Edited by: Chandra Bhanu on May 31, 2013 7:44 AM

Maybe you are looking for

  • Updated InDesign CS6 and not unexpectedly quits and won't open

    Hi, I just updated indesign cs6 (for mac) this morning and now it won't open and just crashes with the "InDesign has unexpectedly quit" window. PhotoShop, Ilustrator and Dreamweaver all seem to be opening and working fine but it's InDesign I need! An

  • Some Fireworks in Dreamweaver

    I've created a pop up menu on a image i want to use as a nav/menu bar, but when I've putting it in and test it, it wont work.. Why?

  • [事例紹介]Install MSI payload failed with error: 110 - 指定されたデバイスまたはファイルを開けません.

    このようなインストールトラブルの解決事例がありましたのでご紹介します. [問題点] CS5.x Windows 版インストール時.「インストールに問題があります Exit Code:7」エラーが発生. エラーサマリーには以下のエラーが含まれていました. [エラーサマリー抜粋] ----------- Payload: {08D2E121-7F6A-43EB-97FD-629B44903403} Microsoft_VC90_CRT_x86 1.0.0.0 ----------- ERROR: 指

  • 15" Aluminum PMU?

    hi, i have a friend with a 15" G4 AlPB; she is experiencing stuff that i think is PMU related, including: 1. suddenly going to sleep while she is working. hitting a key on the kbd wakes it up again almost always. 2. not booting at all when the power

  • Assigned PR from MRP Run

    Hi everybody I've this problem. I've got a material with procurement type 'F', special procurement '30' and PD as MRP type. I created an inforecord and I flagged the vendor as regular vendor. I maintained the source list for the vendor and material w