Troubles hidding check box's

Hi,
I'm working with Forms Versión 6.0.8.14.1 and I have a problem...
I have a block with 20 records. I need to display the check box only if the query
has returned records. For example, if the query returns two records, I need to display two check box's. I tried to use set_item_instance property but this can't hide the check box.. How can I do this ?
Thanks!!

Hi,
Thanks Simon!,
--How many check boxes are there in each record (1 or 20 )...???
Only 1 check box
--How do you fetch records...??? By execute_query(forms built-in procedure) or by cursor...????
--Is the datablock a database block or control block...????
Is a database block and we fetch records by execute_query, the max number of records in the block are 20 but we fetch only 3 (Ex.).. I wanna display only 3 check's and hide the rest of the checks, can i change the max number of records of the block in the POST-QUERY to set it to 3 or 4 if i only have 4 matches ?
Thanks!, and sorry for my bad English
Regards,
Simon

Similar Messages

  • Hide check box label

    hi guys,
    I have a check box group one of the two check box's are never displayed, im having a problem with the label of that hidden checkbox, ive checked the page source and the label seems to have the same ID as the element itself and im unsure of how to assign the an id for that particular check box, any ideas, thanks
    Stefan

    Hi Stefan,
    You mention "+im having a problem with the label of that hidden checkbox+". Is the problem that the checkbox is hidden but it's associated label is still being displayed? Have you tried creating a dynamic action to hide that particular checkbox option? I'm not sure if this is what you're looking for, it will result in the checkbox & label being hidden. As you've said, you've checked the page source, so you know the ID of the checkbox option you wish to hide. For example, your page source may look as follows:
    <input type="checkbox" id="P20_CHECKBOX_4" name="p_v11" value="50"   /><label for="P20_CHECKBOX_4">50</label></td><td>Now, to hide this option of a checkbox, you could create a Standard Dynamic Action, specifying the event to fire action e.g. Page Load. Then in the True Action, set the Action to Hide, set the Affected Elements 'Selection Type' to jQuery Selector, and in the jQuery Selector text field you'd enter the following: #P20_CHECKBOX_4. Now when you run the page, the checkbox option & its associated label are hidden.
    I hope this helps.
    Regards,
    Hilary

  • Hide check box in the print preview and print of OO ALV

    Hi Experts,
                      I am working on an OO ALV Report. I am facing an issue as,
    1) I have a check box in the output of the report. If the user clicks on print or print preview the check box should not be printed.
    2) When I am printign top of page in the event PRINT_TOP_OF_PAGE, when I tried to insert new line its not printing a new line.
        please suggest me how to print empty lines in the print top of page event of OO ALV.
    Please help me to complete these issues.
    Thanks in advance.
    Regards.
    Ranganadh.

    hi,
    you can use the write statement in the print_top_of_page event of oo alv.
    regards.

  • Column with hide checked when I don't want it to be.

    I have a subject area when I add a column, it has the hide check box checked. If I uncheck it , it still will have it checked when I go back in to it. They happen to be date fields in a materialized view. The columns will not show when the results tab is selected. I do not find nay errors in the nqquery.log or nqserver.log. Any ideas?
    I still suspect it has something to so with the data type. A select from the view in sql looks fine.

    Hi,
    Steps to implements,
    "The columns will not show when the results tab is selected. I do not find nay errors in the nqquery.log or nqserver.log. Any ideas?"
    1) for the above issues, its know bug and its fixed in obiee11.1.1.6.0 make sure your version.
    FYI:bug ref
    13580620 COLUMNS ADDED IN THE CRITERIA TAB ARE AUTOMATICALLY ADDED TO ALL EXISTING VIEWS
    2) by workaroun way in obiee11.1.1.5.0 and 11.1.1.3.0 version --> remove the existing view and re-create the view it will bring up newly added coulmn. otherwise when ever you just want to add new columns in your exsiting analysis view just edit and go to the result tab and you can find the required SA presentaion table columns in left side -->select it required columns and double click it then its will get displayed in result view.
    Thanks
    Deva

  • Hide the travel check box in MSS team view in SAPHCM

    Hi All,
    How to hide the Travel check box in the above diagram.client don't want the travel functionlaity.
    Please help me out here.
    Regards,
    Kiran

    As mentioned in the specified thread
    You can enhance the Webdynpro component: HRESS_C_LEA_TEAM_CALENDAR
    View :V_TEAM_CALENDAR
    To remove the color in the calender enhance the method BIND_CALENDAR_DATA_NEW
    delete the record from "wd_this->gt_new_cal_entries" where  legend id  = "TRAVEL"
    To remove the legend color enhance the method PARSE_XML
    delete the record from "wd_this->gt_new_legends" where  legend id  = "TRAVEL"
    Or  Deactivate the BADI implementation HRMSS_TEAMCALE_TRAVEL_IMPL  in SPRO
    Employee Self-Service (Web Dynpro ABAP) -> Service-Specific Settings ->Team Calendar ->BAdI: Team Calendar Enhancement with Additional Information
    Regards,
    Jyothi

  • Check box column trouble

    Hi !
    I am new with java server faces.
    What i am trying to do now is adding a check box column to a rich extended data table, i did this adding a new column with a h:selectBooleanCheckbox inside of it.
    The trouble is that i could not syncronize my check box selection with onRowClick event of table, an example could be when i deselect a table row the check box still remain selected. I am trying to solve this issue using just control components without using beans logic (i don't know if this is right).
    Please if you know some tutorials explaning how to add a check box column to a extended data table or if there are some properties or events of table that could help me, give me a feed back.
    Basicly what this is what i did:
    <rich:extendedDataTable .... >
    <rich:column width="8%" styleClass="checkBoxColumn">
    <h:selectBooleanCheckbox value="true" />
    </rich:column>
    </rich:extendedDataTable .... >
    Regards,
    Radu

    cezarini wrote:
    The trouble is that i could not syncronize my check box selection with onRowClick event of table, an example
    could be when i deselect a table row the check box still remain selected.
    Basicly what this is what i did:
    <rich:extendedDataTable .... >
    <rich:column width="8%" styleClass="checkBoxColumn">
    <h:selectBooleanCheckbox value="true" />
    </rich:column>
    </rich:extendedDataTable .... >
    By default the value attribute of h:selectBooleanCheckbox tag is true i.e.
    <h:selectBooleanCheckbox value="true" />I would suggest you use a4j:support tag. For more information about this tag please visit the following URL:
    [http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf;|http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf;]

  • Hide or Remove OCI Check Box column from Standard MDM Result Set iview

    Hi,
    Can we hide or remove the OCI Check box column from the Standard MDM Result set ivew?
    Though i have made OCI disabled, I dont want to display the check boxes along with the product list.
    Can you please help?
    Thanks and best regards,
    Arun prabhu S

    Hi Arun,
    If you are talking about the very first check box, then that is not related to OCI. Use of check box is to anable multiple item selection which can be used adding the records in the workflow, for comparison etc.
    Regards,
    Jitesh Talreja

  • Check boxes to hide or display multiple subforms

    I have been using radio buttons to display subforms individually. Now I need to have multiple subforms displayed based on check boxes, but I have never done this before. Any help would be greatly appreciated. Just FYI, I used the following for the radio buttons:
    if(this.rawValue==1)
    WaterSysImpSF.presence="visible";
    else
    WaterSysImpSF.presence="hidden";
    etc...
    Thanks.

    Hi Pradeep,
    1. Create a Pushbutton or set a PF status.
    2. u can create input fields without a subscreen.
    3. u can code to hide the input fields by using
         LOOP at Screen.
            case screen-fieldname.
               when <fieldname1> or <fieldname2>..
                  Screen-Invisible = 1.
                  Screen-active = 0.
             endcase.
         ENDLOOP.
    4. when u press the button.
    i. Catch the Ok code
    ii. Unhide the input fields.
         LOOP at Screen.
            case screen-fieldname.
               when <fieldname1> or <fieldname2>..
                  Screen-Invisible = 0.
                  Screen-active = 1.
             endcase.
         ENDLOOP.
    Regards,
    Raj.

  • Show/Hide Template with Check Box

      I need scripting to add to a 'Check Box' that makes a (user) template visible if checked and invisible if unchecked.
      This will be used if the user needs an additional "sheet" (addendum) to complete the form.
    Thanks!

    Also:
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_Dev_Templates.81.4.html
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_Dev_Templates.81.5.html
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_Dev_Templates.81.6.html
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_Dev_Templates.81.6.html

  • Check box w/validation form troubles

    hello there, I am under a major, major Deadline!
    I have a flash and php contact form with a validation made
    with all input text boxes. I need to add 1 check box to the form,
    but I don't know how to pass it to through.
    here is the code I have for my form now.
    function checkForm():Boolean {
    // this checks whether required fields have been filled in
    // initialize missing flag on assumption everything OK
    var missing:Boolean = false;
    // clear all error text fields
    error1_txt.text = error2_txt.text=error3_txt.text="";
    // check each field
    // if problem is encountered, display message
    // and set missing flag to true
    if (text_field_1.text == "") {
    error1_txt.text = "Please enter your name";
    missing = true;
    if (text_field_2.text.indexOf("@") == -1) {
    error2_txt.text = "Please enter a valid email address";
    missing = true;
    if (text_field_5.text == "") {
    error3_txt.text = "You have not entered any comments";
    missing = true;
    // if missing is true, return false
    // otherwise return true
    return missing ? false : true;
    function sendMessage():Void {
    // check whether form has been correctly filled in
    var formOK:Boolean = checkForm();
    // if no problems, process the form and send variables to
    PHP script
    if (formOK) {
    // Form processing goes here
    message.from = text_field_1.text;
    message.email = text_field_2.text;
    message.comments = text_field_5.text;
    message.sendAndLoad("feedback.php?ck="+ new
    Date().getTime(), messageSent);
    // display message informing user that email is being sent
    gotoAndStop("sending");
    function backToForm():Void {
    // send playhead back to the main form
    gotoAndStop("theForm");
    // create and apply text format for date
    var dateDisplay:TextFormat = new TextFormat();
    dateDisplay.font = "Georgia,Times,_serif";
    theDate_txt.setNewTextFormat(dateDisplay);
    theDate_txt.autoSize = "left";
    // create LoadVars instance to retrieve date from PHP script
    var getDate:LoadVars = new LoadVars();
    // initialize LoadVars to send form data
    // and receive response from the PHP script
    var message:LoadVars = new LoadVars();
    var messageSent:LoadVars = new LoadVars();
    // load date from PHP
    getDate.load("
    http://localhost/phpflash/ch02/today2.php");
    // assign theDate property of the LoadVars instance to text
    field
    getDate.onLoad = function() {
    theDate_txt.text = this.theDate;
    messageSent.onLoad = function() {
    if (this.sent == "OK") {
    gotoAndStop("acknowledge");
    } else {
    gotoAndStop("failure");
    failure_txt.text = this.reason;
    gotoAndStop("theForm");
    any help would be greatly appreciated.
    thanks,
    hutch

    if by check box you mean a radio button, you can add the
    following to your code:

  • Hide Command Box through Sap ECC 6.0

    Hi, SAP GURU's
    How is it possible to globally hide command box in a Sap ECC 6.0. or hide it only from Enterprise Portal.
    Regards
    Sumeet Sharma

    Hello Sumeet Sharma
    Hiding the command box in SAPgui for windows is not possible.
    Disabling it would probably mean you have to rewrite the SAPgui interface (not feasible).
    Restricting your users from accessing content they are not supposed to access is based on authorizations, if you give everyone all rights you are bound to heading for trouble and issues restricting where they are going. Also when you get an audit they will surely flag this point as being dangerous.
    You can check with SAP by opening a customer message.
    Kind regards
    Tom

  • Reset radiobutton list when check box unchecked

    I have a static PDF registration form that I am working on using LiveCycle Designer 8.2. I would like to learn how to have a radiobutton list reset when a particular check box is unchecked.
    When registering for the event, users have the option of attending 1 of the 4 optional afternoon workshop sessions. I have successfully made the workshop radiobuttons hidden until the check box is checked using the following code:
    (check box is named "Reg4" -- this is where they say "yes" I'm going to attend 1 of the 4 workshops,
    radiobutton list of the 4 workshops is named "RadioButtonList3")
          topmostSubform.Page1.Reg4::change - (JavaScript, client)
         if (this.rawValue == "0") {
           this.resolveNode("RadioButtonList3").presence = "hidden";
    When the user unchecks the "Reg4" checkbox after they have selected 1 of the 4 workshops, that radiobutton is still checked.
    What I'm looking for is to have the radiobutton list reset (or again hidden) when the Reg4 button is unchecked (after previously being checked).
    I hope my description is clear. Is this possible?

    Thank you again, Jono, for your reply. I was worried that the Static PDF was the trouble but I just couldn't take no for an answer!
    If you're willing, I'd be happy to send you my file but am unable to post publicly.
    In an earlier version the RadioButtonList3 is hidden when first viewing the file. It was done using FormCalc. (I know you said don't mix the languages but, hey, it worked!) Also, I found a post you had last year in the discussion "Prompt User to click checkbox (radio button)" where you described a message box using Java. I snagged that and put it on the enter event of the Reg4 field.
    When I preview the PDF, this is what I now have:
    Upon first view, RadioButtonList3 is hidden and am unable to select (perfect)
    When I check the Reg4 box, I get the "You will be registered for a..." warning message (perfect)
    I can now make a selection in the RadioButtonList3 (perfect)
    If I uncheck the Reg4 box without making a selection on RadioButtonList3, the RadioButtonList3 again hides (perfect)
    If I check the Reg4, then make a selection on RadioButtonList3, and then uncheck the Reg4 box, the RadioButtonList3 is reset (perfect)
    BUT the RadioButtonList3 is still visible and a selection can now be made (not perfect because the Reg4 box is now unchecked and the user will only be registered for the event if Reg4 is checked)
    #1 RadioButtonList3 will hide only if it has not been selected and reset first.
    #2 The warning message only appears the first time Reg4 is checked.
    These 2 items somehow seem related. Is there something that tells it "use this code when you first open the document but act differently once you've started checking boxes" so it only acts as I intend on the first go-around?
    Here's all of my code:
      topmostSubform.Page1.RadioButtonList3::calculate - (FormCalc, client)
    if (Reg4 == "0") then
              RadioButtonList3.access = "readOnly"
    else
              RadioButtonList3.access = "open"
    endif
    topmostSubform.Page1.Reg4::change - (JavaScript, client)
    if (this.rawValue == 1) {
      RadioButtonList3.presence = "visible";
    else {
              RadioButtonList3.rawValue = "";
      RadioButtonList3.presence = "hidden";
    topmostSubform.Page1.Reg4::enter - (JavaScript, client)
    if (RadioButtonList3.rawValue == "") {
         xfa.host.messageBox("You will be registered for an Optional Workshop ONLY if this box is checked. Don't forget to tell us which workshop you will be attending.");
         this.rawValue == null;
    So sorry for the lengthy post. I'm open to any ideas that anyone may have.
    This certainly is a learning experience!

  • Hiding text box based on check box checking

    Hello,
    I have a jsp in which based on whether the check box is checked or unchecked I want to hide or show a text box. I am including the text box in a div tag & calling a javascript function to set the style of the div to hidden or shown based on whether the check box is checked or not. although i am getting the correct values in the alerts the text box is not getting hidden.
       <td class="label"><label for="chk1"><gbms:message key="lblSearchforDeletedCustomer"/>:</label></td><td class="input">
                  <html-el:checkbox property="chk1" value="N" tabindex="3" onclick="javascript:checkboxClicked(document.forms['formCustomerOrVehicleMaintenance'])" onfocus="fnShowError(document.formCustomerOrVehicleMaintenance.chk1);"></html-el:checkbox> <gbms:message key="chek"/> 
                                 </td>
                                 <div id="delDateDiv" style:hidden>
                            <td class="label"><label for="txtDeleteDate"><gbms:message key="lblDeletedAsOf"/>:</label></td><td class="input">
                 <html-el:text property="txtDeleteDate" size="6" maxlength="40" tabindex="3" onchange="fnChanged()" onfocus="fnShowError(document.formCustomerVehicleMaintenanceDelete.txtDeleteDate);"></html-el:text> <a href="#" onclick="cal1xx.select(document.forms[0].txtDeleteDate,'anchor1xx','MMddyy'); return false;" name="anchor1xx"><img src="<%=request.getContextPath()%>/css/common/calendar.gif" border="0" style="cursor: hand"></a><gbms:help jsp="customerVehicleMaintenanceDelete" module="admin" languageCode="<%=request.getLocale().getLanguage()%>" field="DeletedAsOf"/>
                        </td></div>javascript function being called..
    function checkboxClicked(aThis)
                        var aform = document.forms['formCustomerOrVehicleMaintenance'];
                        var aDiv = document.getElementById('delDateDiv');
                        alert(aDiv.style.visibility);
                        alert(aDiv.innerHTML);
                        alert(aform.chk1.checked);
                        if(aThis.chk1.value == true)
                             aform.txtDeleteDate.value = '';
                             aform.txtDeleteDate.disabled = false;
                             aDiv.style.visibility = 'visible';
                        else
                             aform.txtDeleteDate.value = '';
                             aform.txtDeleteDate.disabled = true;
                             aDiv.style.visibility = 'hidden';
                   }

    in my javascript function the value returned is true when checkbox is checked & false when it is unchecked. visibility is also giving correct value in the alert. but still field is not hiding
              function checkboxClicked()
                        var aform = document.forms['formCustomerOrVehicleMaintenance'];
                        var aDiv = document.getElementById('delDateDiv');
                        alert(aDiv.style.visibility);
                        alert(aform.chk1.checked);
                        if(aform.chk1.checked)
                             aform.txtDeleteDate.value = '';
                             aform.txtDeleteDate.disabled = false;
                             aDiv.style.visibility = 'visible';
                             alert("inside if");
                             alert(aDiv.style.visibility);
                        else
                             aform.txtDeleteDate.value = '';
                             aform.txtDeleteDate.disabled = true;
                             aDiv.style.visibility = 'hidden';
                             alert("inside else");
                             alert(aDiv.style.visibility);
                   }

  • How to disable check box (row selector) in a tabular APEX report

    I have a tabular report with check boxes that gets populated by a SQL query.  For certain rows, I want to disable (or not render) the check box, depending on the value of one of the columns for that particular row (if the value of a column defined as Date is less than sysdate, I don't want to display the check box for that row).  I tried using the Conditional Display in the Column Attribute section of the check box, but I am unable to access this Date column which is being selected from a view in the source SQL.  I used variable such as :name-of_column, V(':name-of_column'), but always get a NULL value for this Date column in the SQL that I am trying to code in the Conditional Display section.  For this reason, my condition does not work correctly.
    What am I doing wrong?  Is my approach above correct?

    Hi Ajay,
    I don't think you can handle this with a conditional display, as that works on column level rather than row level.
    The way I see it, there are two things you can do:
    1) an sql approach, where youo render the checkbox as part of your query using apex_item.checkbox, check the oracle docs for detailed info on the usage APEX_ITEM
    You'll end up with a query like
    select case when YOUR_DATE_COLUMN < sysdate
                      then null
                      else  apex_item.checkbox2( p_idx => 1
                                                               , p_value => YOUR_DATE_COLUMN
    ,      <rest of your query here>
    from YOUR_TABLE
    2) an JavaScript approach in which you create a dynamic action that check your tabular form date column and, when necessary hides and disables the checkbox for that row.
    First option is more robust, but will require a bit more work. Second option is faster to develop, but might have different effect across various browsers and browser versions.
    Regads,
    Vincent
    http://vincentdeelen.blogspot.com

  • TS3989 how can I share a photo stream from my mac? there's no check box in system preferences to turn it on

    I've been having trouble to share my photo stream with other from my mac. Once I selecte the photos and click share>photo stream, nothing else happens. The option for "new photo stream" does not appear, neither the field where you type in the email addresses from people you whant to share it with. I all ready checked in iphoto'11> system Pref.> photo stream and there's no "shared photo strem" check box to turn on or off... I also checked in my mac system pref to be sure that my icloud is enabled and it is.
    If I select photos and then go to my tool bar and press share. the option of photo stream is not available.
    I also can't accept any shared photo stream from other and view it in my iphoto. I can only access it via web.
    I DO can use my photo stream correctly and share it via my iphone. and every picture that I take uploads into my mac and every photo I import from cameras into my iphoto also uploads fine into my Ph stream. THE PROBLEM IS THAT I CAN'T SHARE THEM FROM MY MAC.....
    Please can someone help me?

    You turn on Photo Stream in iPhoto's Photo Stream preference pane:
    Check the box "Automatic Upload" to add every photo imported into the library to the Photo Stream.  Or leave it unchecked and manually add just selected photos to the stream by dragging them onto the Photo Stream heading in the left hand pane.
    OT

Maybe you are looking for

  • On exit, I am not asked if I want to save existing tabs and it closes all of them without saving. How do I get F-F to save my tabs on exit?

    I upgraded from version 3.5 In that version when I wanted to quit for the day, I could hit exit and it would ask me if I wanted to quit or save tabs and exit. In version 4 when I hit file, then exit, it does not ask if I want to save the tabs that ar

  • Combining of two reports in universe

    Hi all, When we are getting data from SAP.Can we combine two reports in UNIVERSE. What is the concept of merging Dimension. Thanks, Kiran.

  • IPad issue

    iPad not accepting Id or password. On apps store it's not connecting. Telling me the server is not verified when trying to connect. Have changed password but still not working. Please help. My daughter has an iPad and hers if fine.

  • Mute Sound

    Hi, I purchased a flash intro template and it did not include a Sound Off button. Most of the programming consists of movies but there is a time line with sound. Couldn't find the answer in my Flash MX book. Would I put the sound off action script at

  • An communication error occurred. Printing will be stopped

    Hello, For some reason some of our users are getting the following error message when they try to print their reports from Infoview. I searched the internet but was unable to find an appropriate answer to this query. Could some one please help me wit