Required Check Boxes - Yes and No

Good Morning everyone - I have a form and I have two Check boxes Yes and NO that the user needs to check one, but if the user checks one the other should be turned off (sort of speaking) and allow the user to continue to submit or print, etc. Is this possible. Thank you kindly.

In Acrobat Forms, you need to group the check boxes or radio buttons by using the same name for the buttons and setting the export value to different values so the individual box/button widget. can differentiated from the other boxes/buttons. Use the Radio Buttons if with a default value if you want a froced selection. Check boxes allow for the deselection of a selected check box, but radio buttons can only deselected by selecting another radio button.

Similar Messages

  • Object Model - cl_salv_hierseq_table Check box hide and Display

    I am making use of Object model for creating the hierseq ALV.
    I have added a checkbox to my ALV by making use of
    gr_selections = gr_table->get_selections( level = 1 ).
    gr_selections->set_selection_mode(cl_salv_selections=>if_salv_c_selection_mode~multiple ).
    As u can make out by the Value Level = 1 the checkbox is at the header level.
    1.) My query is that i want to Enable the checkbox for some header level records and and Disable some header level records based on a condition.
    2.) Second query is that I want to read records from the alv in which the checkbox is checked..
    Kindly answer.
    Thanks,
    Nikhil Juneja

    Hi aRs.  You need to use the class CL_SALV_SELECTIONS for this.  See here,  
    DATA: gt_parent TYPE TABLE OF scarr.
    DATA: gt_child TYPE TABLE OF sflight.
    DATA: gr_table  TYPE REF TO cl_salv_hierseq_table.
    DATA: gr_selections TYPE REF TO cl_salv_selections.
    DATA: lt_binding TYPE salv_t_hierseq_binding.
    DATA: ls_binding TYPE salv_s_hierseq_binding.
    SELECT * FROM scarr INTO CORRESPONDING FIELDS OF TABLE gt_parent.
    SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_child.
    ls_binding-master = 'CARRID'.
    ls_binding-slave  = 'CARRID'.
    APPEND ls_binding TO lt_binding.
    CALL METHOD cl_salv_hierseq_table=>factory
      EXPORTING
        t_binding_level1_level2 = lt_binding
      IMPORTING
        r_hierseq               = gr_table
      CHANGING
        t_table_level1          = gt_parent
        t_table_level2          = gt_child.
    gr_selections = gr_table->get_selections( level = 1 ).
    gr_selections->set_selection_mode( cl_salv_selections=>if_salv_c_selection_mode~multiple ).
    gr_table->display( ).
    This will give you the checkboxes in the parent level, you still need to write the code to get the selected rows.
    Regards.
    Rich Heilman

  • Check boxes that turn layers on and off

    hay all
    im fairly new to this part of adobe but i have a good understanding
    what i need i to be able to have check boxes that turn layers on and off when the tick is shown and when it is not
    i know this is possible through scripting but i dont have the ability as of yet to carry out the scripting
    is someone able to write a basic script for me or help me to understand what i need
    i want the script to be for when a check box is clicked (mouse up) that a layer that was oringaly turned off to be turned on (electricalplan)
    once the tick is removed i need the layer to turn off again
    i need to do this for mulitple layers (about 10)
    so i would just use the same script for each replacing the name with the correct name.
    i also need the check boxes to work together so that i can have multiple turned on at the one time (electricalplan) (sewerplan) (waterplan)

    Do you know how to access fields with JavaScript? I access the script way of the check box properties and selecting the actions tab.
    Do you know how to set the optional value for a check box? Yes    
    Can more than one layer be displayed at a time? Yes
    Do you want to toggle the OCG by name or element number in the OCG array? I would like to toggle by name

  • ICloud and iTunes, cannot get the check boxes to stay checked under  preferences for iTunes to keep automatic downloads for iCloud, how can I fix this?

    When using my iPhone and Macbook with iTunes, I cannot get the checkboxes to stay checked in iTunes to use the automatic downloads for iCloud.  It is so frustrating. I check box them and hit ok under store preferences for iTunes, and when I go back in, they are unchecked. I am so excited to use iCloud with my iPhone downloads and it is not working, if I can't get it to work with this, I am never going to get it to work for documents.  Please help.

    Hey man. Did you ever get a solution to this problem? I spent an hour on the phone with AppleCare yesterday, and am going to have to call them back when I get home from work today. It's driving me bonkers!!

  • Process to get info from Multiple textboxes and check boxes on a page

    Hi,
    Could you help me with setting up a process which selects the data from multiple textboxes and checkboxes on a page and should be pointing to a single table in the database.
    Thanks in advance,
    Verity.

    Thanks Peter for the reply,
    Actually the problem is, there are lot of check boxes. And process should be like when a user clicks on, say 7 out of 10 checkboxes, only those values needs to be inserted in a table in database. Actually my "insert all" statement is inserting 7 values and also the other three values as null. I tried insert with 'when' and 'if' but didnt get through. my sample insert statement is as follows. Could you help me here.
    DECLARE
    BEGIN
    insert all
    when (:P1_POT='PT') then
    into TABLENAME
    (oid,year, code)
    values
    (:F1_ID, :F1_YEAR, :P1_HR)
    when (:P1_HOL='SC')
    then into TABLENAME
    (OID, year,code)
    values
    (:F1_ID, :F1_YEAR, :P1_SD)
    select oid,year,code from TABLENAME;
    END;

  • Combo box and Check box..help with code please?

    Here is my problem...i have a list of check boxes and according to which one is checked, i need combo boxes to populate different choices.
    as an easy example im only using 2 check boxes and two combo boxes.
    the check boxes are named Choice 1or2 with export values of 1 and 2
    the Combo Boxes are named List A and List B..
    both containing options that say you checked box 1 and you checked box 2
    any help would be greatly appreciated

    Implode wrote:
    "Help with code please."
    In the future, please use a meaningful subject. Given that you're posting here, it's kind of a given that you're looking for help with the code. The whole point of the subject is to give people a high level idea of what KIND of help with what KIND of code you need, so they can decide if they're interested and qualified to help.
    Exception in thread "main" java.lang.NumberFormatException: For input string: "fgg"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at assignment1.Game.Start(Game.java:120)
         at assignment1.RunGame.main(RunGame.java:18)This error message is telling you exactly what's wrong. At line 120 of Game.java, in the Start method (which should start with lowercase "s" to follow conventions, by the way), you're calling Integer.parseInt, but "fgg" is not a valid int.

  • Check Boxes and Multimedia

    I am trying to build an interactive PDF.
    The PDF includes check boxes, hyperlinks and text fields.
    When I export the file the following works in Mac's Preview
    1. check boxes
    2. text fields
    In Adobe Acrobat the following works
    1. text fields
    2. hyperlinks
    I have had hyperlinks working in Mac's Preview before, so I am a little confused as to what is going on.
    Any pointers would be greatly appreciated.
    Thanks.

    The check boxes work in both now readers now.
    I exported using ADOBE PDF interactive, which I have used before.
    I built the hyperlinks by converting objects to buttons and adding a URL - which has exported fine before and worked in mac preview.
    This would be my preferred method however I have found a way of doing it so links works in Preview - just writing a shortened URL..... doesn't look as nice but I suppose it all goes to make a turd.
    I just cant seem to get hyperlinks and buttons working in Mac Preview.

  • Migrating library from PC to Mac (and copying sync check boxes)

    Hi,
    I recently bought an iMac to upgrade from a PC, and everything's going awesome - except my iTunes library.
    I can get the music/files across to the iMac fine, however I have a library in excess of 60gb and use a 16gb iPhone, so was pretty reliant on the checkboxes to keep my synced library under 16gb.
    I can't seem to find away to copy across the check box information, and would hate to have to manually uncheck all the songs I don't want to sync as I have almost 6,000 items in my library.
    I've seen the iTunes back up option and thinking of trying that, but I'll need to buy a ton of DVDs to do so - so thought it was best to check if there are any other options, and also see if the back up contains the check box preferences.
    Any help would be most appreciated - cheers!

    If anyone's got the same problem, don't bother backing up the library to DVD - it doesn't sync the check boxes. I just found out, 22 DVDs later.
    Was going to put all the synced songs in a playlist and export it (as suggested above), but you can't sort by checkbox - so if anyone has any more solutions, I'm all ears.
    Cheers

  • Creation of radio buttons and check boxes

    Hi
    This  is ravi
    Please help me to write the following program-
    ■        Design a selection screen having 5 check boxes and five radio-buttons
    ■        Each check box and radio button be given a number starting with one to five
    ■        Depending on which checkbox and radio button is selected output that number
    For example if I have selected check box one and radio button two then the output should be-
    check box number 1
    radio button number 2

    Hi,
    Check the following code:
    SELECTION-SCREEN: BEGIN OF BLOCK BLK WITH FRAME TITLE TEXT-001.
    parameters: chk1 as checkbox,
                chk2 as checkbox,
                chk3 as checkbox,
                chk4 as checkbox,
                chk5 as checkbox,
                rad1 radiobutton group grp1,
                rad2 radiobutton group grp1,
                rad3 radiobutton group grp1,
                rad4 radiobutton group grp1,
                rad5 radiobutton group grp1.
    selection-screen: end of block blk.
    start-of-selection.
    if chk1 = 'X'.
      write:/ 'You selected first checkbox'.
    elseif chk2 = 'X'.
      write:/ 'You selected second checkbox'.
    elseif chk3 = 'X'.
      write:/ 'You selected third checkbox'.
    elseif chk4 = 'X'.
      write:/ 'You selected fourth checkbox'.
    elseif chk5 = 'X'.
      write:/ 'You selected fifth checkbox'.
    endif.
    if rad1 = 'X'.
      write:/ 'You selected first radiobutton'.
    elseif rad2 = 'X'.
      write:/ 'You selected second radiobutton'.
    elseif rad3 = 'X'.
      write:/ 'You selected third radiobutton'.
    elseif rad4 = 'X'.
      write:/ 'You selected fourth radiobutton'.
    elseif rad5 = 'X'.
      write:/ 'You selected fifth radiobutton'.
    endif.
    Regards,
    Bhaskar

  • Sync folder hangs and "into subfolder"check box ignored.

    I have two recurring, intermittent issues with Lightroom 5.3.  They MAY be related. This has been going on since I purchased Lightroom 5 via Creative Cloud.  I have posted the first issue before but I still have not received a solution.
    First problem: When I try to sync a Dropbox folder that has updated images on it, Lightroom shows that it is importing the new images, the progress bar continues to the end, but no new images show up and the progess bar remains at the very end.  I can manually stop the progress, but then I am unable to try syncing again (it doesn't show up as an option), unless I restart Lightroom.  Sometimes it works after several attempts, and sometimes I have to try using "Import..." to get it to work.   This also occurs, though less frequently, when I try importing.    The Dropbox folder is not being updated when this happens.  I have tried pausing syncronization in Dropbox just to be sure.  I don't know if this happens with any other folders.  My Dropbox folder is the only folder I sync regularly for work.   I don't think I'm the only one who has had this problem, but I've seen no solution posted. 
    Second problem:  When importing images from a folder or compact flash card, Lightroom 5 ignores my subfolder name that I've typed in, even though "Into Subfolder' is checked.   I often have to click the checked box on and off a few times to get it to work.  Sometimes it doesn't work unless I click a different source folder, then back to the actual folder I want to import, then clicking the "into subfolder" box a few more times.  This is also an intermittent problem and I have found no way to reproduce either one on command.  I don't know if these two issues are related but I find both issues quite frustrating and both slow me down almost every day.   
    Please advise.

    On your iPod, check Settings > General > Restrictions and be sure you haven't somehow enabled restrictions for the App Store. If restrictions are enabled, you cannot install apps and your itunes Apps pane will not allow you to manipulate apps.

  • Agree to terms and conditions check box

    I am using a checkbox for users to indicate that they agree to the forms terms and conditions. On Submit how can I validate that the box was checked and if not block the Submit process from completing until the checkbox is selected.

    Make the submit button presence 'hidden', add a second button that performs the check box validation and if the validation succeeds, call 'click' on the submit button.
    // form1.page1.subform1.callSubmitBtn::click - (JavaScript, client)
    if (form1.page1.subform1.cb.rawValue == "0") {
       xfa.host.messageBox("Please agree to terms and conditions.","Agree",0);
    else {
       form1.page1.subform1.submitBtn.execEvent("click");
    Steve

  • Mandatory check box before form submission

    I want users to accept my 'Terms & Conditions' statement on an application form before they are allowed to submit it by the e-mail button.
    I want to place a required check box which produces an error message and prevents form submission until it is checked.
    I have read hordes of the postings but none of the solutions seem to do quite what I want.
    Any advice would be gratefully received

    Hi,
    I used the script you provided in the above post, and it worked perfectly, but my situation is a little different: I have two checkboxes, but I only want the message to appear if one of them isn't selected. If the other checkbox is selected, I need the fake submit button to go ahead and generate the email to send the form. I'm new to LiveCycle Designer, and I'm unsure of how to correctly use the "if" and "else" javascript. I need the message to appear when clicking the WebExYes checkbox, but I don't want it to appear when the user clicks the IntercallCheckBox.
    Here's what my script looks like so far:
    if 
    (form1.subForm1.WebEx.WebExYes.rawValue != "1"){ xfa.host.messageBox("You must read the FHEG WebEx Usage Standards and select the Yes checkbox before submitting.");
    else 
    { SubmitButton.execEvent("click");
    if 
    (form1.subForm1.AccountRequest.IntercallCheckBox.rawValue != "1")
    else 
    {SubmitButton.execEvent ("click");
    Can someone tell me what I'm doing wrong or if I can even make this happen?
    Thank you,
    Hannah

  • How to handle check box in crm web ui 7.0

    Hi,
    As per the requirement, we need to disable the fields when we selected the check box in the same component and view,
    Please provide the step by step process or any link which will describe the check box functionality and disabling the fields
    Thanks.
    Veer

    Hi,
    If you need to disable a selected number of fields on teh selection of a checkbox, follow  the below steps.
    1. In the get_p method of the attribute which is a checkbox, add the code to call the server event everytime the user selects or deselcts the checkbox.
    2. Redefine the get_i method of all the attributes which should be disabled on the selection of the checkbox.
    3. Retrieve the value of the checkbox attribute. if the value is abap_true(i.e. it is enabled), set the return parameter rv_disabled of the method to abap_true. This needs to be done in the method get_i_<attribute_name> for all the attributes.
    Regards,
    Radhika

  • How to use a check box in ALV

    Hi All,
    I have a urgent requirement in my <b>ALV list</b>.
    Where in the output list i need to create a check box, which is followed by Sales order, quantity columns etc......
    Requirement:  1. tell me how to <b>create</b> a <b>check box</b>
    2.   i need to select the checkbox(Sales Order) and press  a push button which is above the list(push button) in the tool bar.
    I am able to see the output using  <b>reuse_alv_grid_display</b>.
    <b>But kindly let me know how to <b>link</b> the <b>check box</b> and the <b>push button</b> which is above the list for further processing.</b>
    Possibly a sample code will help a lot.
    Thanks in advance.
    Rajesh Kumar.

    TO create a check box, take one field in your internal table as:
    CHK TYPE C.
    Now, pass the LAYOUT by filling up the LAYOUT strucutre.
    LAYOUT-BOX_FIELDNAME = 'CHK' .
    This will provide you the BOX field in the GRID and Checkbox in the LIST.
    When you select the  checkbox the field value will set to 'X' in the table.
    Regards,
    Naimesh Patel

  • Check box at the bottom of popup display by fun mod REUSE_ALV_POPUP_SELECT

    Hi
    can anyone help me to find out to add a single checkbox at the bottom of list display by popup REUSE_ALV_POPUP_SELECT
    We dont require check box in front of each line item,
    for example
    in popup there are 4 line items
    1
    2
    3
    4
    In the end of list we require check box with a diffrent heading.
    Definitly helpful answers will be rewarded
    Thanks in advance

    Hi,
    try to declare alv layout and in that
    FORM t_layout  USING    i_layout TYPE slis_layout_alv.
    i_layout-colwidth_optimize = 'X'.
      i_layout-zebra  = 'X'.
    p_i_layout-totals_text = 'GRAND TOTAL ='.
    p_i_layout-subtotals_text = 'Sub Total'.
    p_i_layout-DEF_STATUS  = ' '.
    p_i_layout-info_fieldname = 'LINE_COLOR'.
    ENDFORM.                    " T_LAYOUT
    hope this helps you.
    Thanks & Regards,
    Y.R.Prem Kumar

Maybe you are looking for

  • Volume Too Low on Some Headpho

    I know the volume issue has been beaten to death. I bought my Zen Touch player in Canada, not in Europe. I have noticed that with the earbuds that came with the player, and with a pair of Panasonic headphones that came with a CD player I bought, the

  • Macbook microphone is not working

    I have a Macbook, 2.26 GHz Intel Core 2 Duo 2GB 1067 Mhz DDR3 Recently, my macbook's microphone has not been working. I tried photobooth and garageband and no sound gets recorded. I have no idea whats wrong? Could someone please help me? Thank you.

  • Workflow book

    Can any one send me good material for MM workflow. I am looking for step by step procedure to workflow

  • Error in MSS hr process and forms services

    Hi , when i execute the services releated to hcm prcessand forms (asr) im getting the below.Does any one find the solution or this please revert me back Error when processing your request What has happened? The URL http://hr.d.evo.vodafone.com:/sap/b

  • Migration of web application from 8.1 to 9.2

    Can anybody tell me how to migrate a web application (ear, war archive) from version 8.1 to 9.2. I believe that the application can simply be transferred and deployed in 9.2 from 8.1 and it works well. But if it doesnt work, do i need to change anyth