Multiple choice checkboxes

Hi
I was wondering if anyone help me.
I hav a mutliple choice question where you have to select 4 answers.
How can I disable the submit button until 4 checkboxes have been selected?
Here is my code so far:
submitButton.addEventListener(MouseEvent.CLICK, testHandler);
function testHandler(event:MouseEvent):void
     var minAnswers:int = 4;
     var maxAnswers:int = 4;
     var selectedAnswers = 0;
     var totalCheckboxes:int = 6;
     for (var checkboxNumber:int = 1; checkboxNumber <= totalCheckboxes; checkboxNumber++)
          if (this['answer_' + checkboxNumber].selected == true)
               // increment selected answers
               selectedAnswers++;
     if ( selectedAnswers >= minAnswers && selectedAnswers <= maxAnswers)
                    if((answer_1.selected) && (answer_2.selected) && (answer_4.selected) && (answer_6.selected)){
                              testtext.text = "Thats correct!.";
     else
                    testtext.text = "Thats incorrect";
Can anyone help me?
Many thanks

I think this will do what you want, if I'm reading you right:
// make an array of the question checkboxes...
var qList:Array = new Array(answer_1,answer_2,answer_3,answer_4);
submitButton.addEventListener(MouseEvent.CLICK,testHandler);
// then in the button function count the number of checkboxes that have been selected and do one thing or another based on the count...
function testHandler(event:MouseEvent):void {
          var thisMany:int = 0;
          for (var i:String in qList) {
                    if (qList[i].selected) {
                              thisMany ++;
          if(thisMany == 4) {
                    //do something
          } else {
                    // do something else

Similar Messages

  • How to change the design of multiple-choice checkboxes

    Hello,
    i want to change the look of multiple-choice quizzes. Instead of the typical checkbox with checkmark i would like to place a button that changes its color - for example blue for right (activated) and white for wrong (not selected).
    I think it should be possible, but I don't know where I can change the look of checkboxes. I Tried it with a hotspot-quiz, but that is not exactly what I'm searching for.
    The best solution for me would be a kind of button with mouse-over effect as known from websites (HTML).
    Can you please tell me what I have to edit?
    Thank you very much.
    Boris

    Hello and thank you for posting this information. I'm still seeing a number of problems with implementing a workable solution.
    For HTML5 only (not Flash), I have changed the image: HTML/assets/htmlimages/checkBox_selected.png to a blue button (118x53 pixels instead of the default 22x22pixels), and as expected the button will still be the same size until I change the code description of the checkbox. I found the CSS description of the checkbox button in: HTML/assets/css/CPQuiz.css and have made the changes to the width and height (see below), and even though the following changes are generated in the output files, they don't have any effect on the button. However, I found that if I changed the 'Project.js' file where it defines the width and height of the checkboxes that this would actually change the values, but this is always re-written over and generated each time you click 'Publish'.
    So, I then found some hard-coding in the file: HTML/assets/js/CPLibrary.js (just search for 22px and you'll see that the checkbox description width and height are not being read from the CSS file) and this appears to be where the actual code is coming from that gets generated for output when you click on 'Publish'.
    This is not an optimal solution, I feel that I'm beginning to hack around the default code for Adobe Captivate more than I should be expected to do. Is this really what others are doing to make what should be pretty simple and easy changes?
    Additionally, I noticed that when I click on my checkbox, the 'checkBox_selected.png' will be drawn, but if I click on it again the 'checkBox_disabled.png' appears to be drawn on top of the previous 'checkBox_selected.png' which is not the behavior I would expect. I want to be able to see what is underneath the button if I click on it again in order to un-check the box and instead it draws the 'checkBox_disabled.png' on top, covering up the default text I need to see!
    Below are my changes to CPQuiz.css (which were copied to the 'Published' file, but had no visible effect)
    input[type=checkbox]:checked
        background: url('../htmlimages/checkBox_selected.png') no-repeat center center;
        -webkit-appearance: none;
        border: none;
        -webkit-background-size: 118px 53px;
    .spanCheckBoxInput
        position: fixed;
        display: block;
        width:118px;
        height:53px;

  • Display multiple choice column selections on a separate line in the body of email

    This question could have been answered elsewhere and I just don't realize it. I have a SharePoint Foundation 2010 form (11 columns) that has one choice column allowing the user to select multiple options (checkboxes). The selections have been typed into "type each choice on a separate line". Moving to Designer we have created a workflow that sends an email when the user submits to form.
    If Current Item: Select shift equals DAY request    Email ................
    The body of the email has this field:
    Information Being Requested: [%Current Item: The following information is being requested%].
    When the user gets the email the output for this field is string on a single line separated by a comma. What I need is each of the selections to be on a separate line so the users can easily read what is being requested and not miss any of the selection. I'm stuck. I'm not worried about text wrapping. I've been searching for hours but either it's not what a need, it's over my head, or I just don't know where to make the changes. I don't use VS but I do know html and I'm fairly comfortable in Designer. I would appreciate any help.

    Firstly, can you edit your post and take the question out of the code / quote box. It'll make it easier to read.
    Secondly the options depend on the version of SharePoint.  Are we to assume you're using SharePoint 2003 or 2007 as you've posted into the legacy forums?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Populate a Floating Field from Multiple Choices in a Drop Down List

    Hi, folks, it's been a while which means things have been going smoothly. But what I'm trying to do at the moment has me stumped.
    I have a form that was originally made with a long section of checkboxes that our agents would check if the answers applied to the client's case. This meant that the client had a whole bunch of information that didn't apply to them on the form so I thought would be clearer for the client if the agent would select only those items that pertained to them in a List Box. I used a List Box for multiple choices because several choices could apply to their case. And I wanted those selections to relayout to a floating text field in a paragraph but for the life of me, I can't seem to make that happen. I tried switching to a Drop Down Field and that allows only one selection to relayout.
    The paragrah reads "To proceed, we need the following information or the documents identified below:" and then the 15 items would be listed with the checkboxes.
    Any suggestions as to how I should do this?

    What if you leave them as checkboxes and just put a pre-print event in each of the 15 items to make them visible or hidden based on their value?
    Like this:
    Jo

  • Create Service Request with Multiple Choices

    Dears,
    I need to create Service Request to appear in the portal with Multiple Choices like blow 
    Mohamed Fawzi | http://fawzi.wordpress.com

    Hi Mohamed.
    I am sitting almost in the same sudation, I am designing a service request form in the portal and will be using multiple checkboxes for various new equipment aka desktop, laptop, mobile blah blah.
    were you able to get multiple checkboxes to work in the portal, and if so, could you possibly share the solution. also if I may ask, can you have two or there checkboxes in the same row (next to each other), or only in a column?
    thanks in advance

  • Is there any way to make Multiple Choice in Windows-Mobile ?

    hi
    i have C# program on Windows-Mobile 6.5
    i need to pick some items in Multiple Choice
    (in datagrid or listview or multi-checkBox......or Somehow....)
    is there any way to do it ?
    thanks

    hi
    i have C# program on Windows-Mobile 6.5
    i need to pick some items in Multiple Choice
    (in datagrid or listview or multi-checkBox......or Somehow....)
    is there any way to do it ?
    thanks
    Can you give me a bit more detail please? I might be able to help. Do you mean for example like it  asks a question? There are 4 choices, and you have to choose one as the right answer? (Like a school Multiple Choice Test)

  • Multiple choices and table fields

    I am designing a form application now and I am stuck in some problems. One of them is related to multiple choices:
    The application looks like question-answer style. E.x:
    Funded goods before:
    a. Bed b. Chair c. Computer d. Clothing e. Book
    How do I save those answers? I mean do I need to create 5 fields in the table for saving the each above anwsers like:
    create table Goods (Bed varchar(1), Chair varchar(1), Computer varchar(1)...)
    If a, c, e are chosed, goods.bed = 'Y', goods.computer = 'Y', goods.Book= 'Y'.
    Please give me help. Many thanks and waiting.

    No, you don't need to store them in a table. You will put 5 checkboxes next to each of the five choices and you will check the value of the combo if it is either 1 or 0. You will set the ValueWhenChecked property of the item to 1 and the ValueWhenUnchecked property of the item to 0 . So if the value of the checkbox is 0 then it is unchecked and when it is 1 it is selected.
    So in your example you can write :
    if ( :bed='1' and :computer = '1' and :book = '1' ) then
    I hope i helped you.
    Regards,
    Bill...

  • Hi.  I´d like to create my own multiple choice test, can you help?  Thanks!!  Kate, Hi.  I´d like to create my own multiple choice test, can you help?  Thanks!!  Kate

    I´d like it to have automated response.....how do I do that?  Thanks heaps

    Take a look at Jotform.com.  Withn it you can create some multiple choice questions with radio buttons or checkboxes. An example of Jotform is on this demo page: Embedding Forms & Encoding Email Addresses
    As far as after June of next year just get yourself a new hosting service and move your sites to it.  These tutorials might be of interest to you once you do get a new hosting service:
    #25 - Easily Transfer Website Folders From MobileMe to a 3rd Party Server
    #26 - Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued
    #10 - Redirect Every Web Page of a MobileMe Site to the Same Page on a New Host Server.
    This might be of some interest also:
    It is now apparent that iWeb, and iDVD, will no longer be supported by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.  iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    All of these issues can be replaced with 3rd party solutions.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    Apple has announced that iLife is now an unsupported product and those iApps will only be available thru the App Store from now on.  However, the boxed iLife 11 at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD.  Those two apps were listed in small, gray text on the iLife 11 box that I bought. Personally, if I already didn't have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    OT

  • Best app to import and study multiple choice questions.

    Hi,
    I'm searching for an app to help study for an exam.
    Part of the studying strategy is to study by the previous exams questions. I have those (a lot of them) in text format.
    The app would need to have:
    - Support for multiple-choice questions;
    - Easy, fast and automated way of importing the questions;
    Would be nice to have:
    - Ability to include a rich-text comment along with the right/wrong answer;
    - Support for tagging each questions.
    I've used the search function and found this:http://forums.macrumors.com/showthread.php?t=1041085 but it's been a while since then.
    thanks in advance

    Hi Konrad;
    What approach would you recommend to import and export EBS data? Open Interfaces, PL/SQL, web services or anything else?For your question please check below notes:
    Export/import process for R12 using 11gR1 [ID 741818.1]
    Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2 [ID 454616.1]
    General Notes For E-Business Suite Release 12 [ID 986673.1]
    Please also check below thread:
    how to export data from ebs
    how to export data from ebs??
    Also check below search which could help you about your issue:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=import+export+&objID=c3&dateRange=all&userID=&numResults=15
    http://forums.oracle.com/forums/search.jspa?threadID=&q=export+data&objID=f475&dateRange=all&userID=&numResults=15&rankBy=10001
    Hope it helps
    Regard
    Helios

  • Grey box over multiple choice options in quiz (Captivate 5.5)

    I created several quiz slides - all multiple choice.  When the mouse is moved over the answer options a grey box highlights the radio button and text of the option.  I'd rather not have this grey box displayed.  Any ideas on how I turn off this "feature"?

    Interesting.  Can you upload screenshots of a question with the grey rollover and a question that does not have it, each with a mouse cursor over an answer item, so that we can see?
    Is this a project that has been upgraded from an older version of Captivate or was it built from scratch in Captivate 5.5?

  • Highlighting text box for multiple choice presentation.

    I'm making a multiple choice presentation and need help highlighting the correct answers.
    I'm using Keynote v5.3 and here is the format of my slides:
    Text box - Question
    Text box - (A) Answer A
    Text box - (B) Answer B
    Text box - (C) Answer C
    Text box - (D) Answer D
    When I click to advance, the desired effect I'd like is for the correct answer to turn red in order to let the class know that it's the correct answer.
    I looked on the Build Inspector tool but the only Effects that appear in the Action section are Move, Opacity, Rotate and Scale. None which I don't want.
    Is there a way to animate the correct answer/text box to change color?
    Please help. Thanks!

    builds only work in  linear order ( 1, then 2, then 3,  then 4 ) they don't run in a random access selection,
    ( 4, 1, 2, 3 ) which is what would be required in the method you describe.
    the  way to do this is to use hyperlinks from the first slide to four other slides
    on slide 1:
    type the question and  the multiple choice statements
    draw a shape beside each statement and use this as a hyperlink button to the  respective slide number
    select each shape in turn:
    inspector > hyperlink > enable hyperlink > link to slide and select the respective slide number
    when you click on   button A, it will display the the responce to choice d
    by the way, viewers have been taught that colours have  certain associations ( country dependant of course)
    such as red for danger so
    the traditional colour to use for a correct answer is GREEN
    the traditional colour to use for an incorrect answer is RED

  • Keynote and multiple choice quizes

    Does anyone know of a way to create a multiple-choice quiz with Keynote?
    What I mean is, can you create links from a question page (with video and text) with 4 options and then create pages responding to the users' choice...correct or incorrect... then move onto the next question page etc...?
    Is there a way to use the Hyperlinks function in Keynote for this purpose?
    I plan to export to iDVD and have an interactive quiz DVD...
    I remember doing something similar a while back with Powerpoint.
    I like to push the boundaries and see what can be squeezed out of a piece of software...

    Sorry for the late response...
    What do you mean by "I'm just saving them on my computer". Do you open the PDF with some application (which one?) and then do a save from that application?
    You can send your PDF (with the missing border) to [email protected] with a reference to this post and I can have a look at it.
    Gen

  • Menu Button in ALV toolbar (multiple choices for a button)

    Hi abapers,
    I would like to have a button with multiple choices in the toolbar;
    at the moment I have created a menu button with just one function.
    Here is my code:
    CLASS lcl_event_receiver (Definition)
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
        handle_toolbar
            FOR EVENT toolbar OF cl_gui_alv_grid
                IMPORTING e_object e_interactive.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    CLASS lcl_event_receiver (Implementation)
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_toolbar.
        DATA: ls_toolbar  TYPE stb_button.
    *Separator
        CLEAR ls_toolbar.
        MOVE 3 TO ls_toolbar-butn_type.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    *Button
        CLEAR ls_toolbar.
        MOVE 1 TO ls_toolbar-butn_type.
        MOVE 'EDIT' TO ls_toolbar-function.
        MOVE icon_change TO ls_toolbar-icon.
        MOVE ' Modifica'(l02) TO ls_toolbar-text.
        MOVE ' ' TO ls_toolbar-disabled.
        MOVE 'Modifica' TO ls_toolbar-quickinfo.
        APPEND ls_toolbar TO e_object->mt_toolbar.
      ENDMETHOD.                    "handle_toolbar
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION

    hi,
    check this code and reward me if it helps you..
    TYPE-POOLS : slis,icon.
    *Structure declaration for tcodes
    TYPES : BEGIN OF ty_table,
            tcode TYPE tcode,
            pgmna TYPE progname,
            END OF ty_table.
    *Structure for tocde text
    TYPES : BEGIN OF ty_itext,
            tcode TYPE tcode,
            ttext TYPE ttext_stct,
            sprsl TYPE sprsl,
            END OF ty_itext.
    *Structure for output display
    TYPES : BEGIN OF ty_output,
            tcode TYPE tcode,
            pgmna TYPE progname,
            ttext TYPE ttext_stct,
           END OF ty_output.
    *internal table and work area declarations
    DATA : it_table TYPE STANDARD TABLE OF ty_table INITIAL SIZE 0,
           it_output TYPE STANDARD TABLE OF ty_output INITIAL SIZE 0,
           it_ittext TYPE STANDARD TABLE OF ty_itext INITIAL SIZE 0,
           wa_table TYPE ty_table,
           wa_output TYPE ty_output,
           wa_ittext TYPE ty_itext.
    *Class definition for ALV toolbar
    CLASS:      lcl_alv_toolbar   DEFINITION DEFERRED.
    *Declaration for toolbar buttons
    DATA : ty_toolbar TYPE stb_button.
    Data declarations for ALV
    DATA: c_ccont TYPE REF TO cl_gui_custom_container,   "Custom container object
          c_alvgd         TYPE REF TO cl_gui_alv_grid,   "ALV grid object
          it_fcat            TYPE lvc_t_fcat,            "Field catalogue
          it_layout          TYPE lvc_s_layo,            "Layout
          c_alv_toolbar    TYPE REF TO lcl_alv_toolbar,           "Alv toolbar
          c_alv_toolbarmanager TYPE REF TO cl_alv_grid_toolbar_manager.  "Toolbar manager
    *Initialization event
    INITIALIZATION.
    *Start of selection event
    START-OF-SELECTION.
    *Subroutine to get values from tstc table
      PERFORM fetch_data.
    *subroutine for alv display
      PERFORM alv_output.
          CLASS lcl_alv_toolbar DEFINITION
          ALV event handler
    CLASS lcl_alv_toolbar DEFINITION.
      PUBLIC SECTION.
    *Constructor
        METHODS: constructor
                   IMPORTING
                     io_alv_grid TYPE REF TO cl_gui_alv_grid,
    *Event for toolbar
        on_toolbar
           FOR EVENT toolbar
           OF  cl_gui_alv_grid
           IMPORTING
             e_object.
    ENDCLASS.                    "lcl_alv_toolbar DEFINITION
          CLASS lcl_alv_toolbar IMPLEMENTATION
          ALV event handler
    CLASS lcl_alv_toolbar IMPLEMENTATION.
      METHOD constructor.
      Create ALV toolbar manager instance
        CREATE OBJECT c_alv_toolbarmanager
          EXPORTING
            io_alv_grid      = io_alv_grid.
       ENDMETHOD.                    "constructor
      METHOD on_toolbar.
      Add customized toolbar buttons.
      variable for Toolbar Button
          ty_toolbar-icon      =  icon_generate.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button1'.
          APPEND ty_toolbar TO e_object->mt_toolbar.
          ty_toolbar-icon      =  icon_voice_output.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button2'.
           APPEND ty_toolbar TO e_object->mt_toolbar.
         ty_toolbar-icon      =  icon_phone.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button3'.
           APPEND ty_toolbar TO e_object->mt_toolbar.
         ty_toolbar-icon      =  icon_mail.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button4'.
           APPEND ty_toolbar TO e_object->mt_toolbar.
       ty_toolbar-icon      =  icon_voice_input.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button5'.
         APPEND ty_toolbar TO e_object->mt_toolbar.
      Call reorganize method of toolbar manager to
      display the toolbar
         CALL METHOD c_alv_toolbarmanager->reorganize
          EXPORTING
            io_alv_toolbar = e_object.
       ENDMETHOD.                    "on_toolbar
    ENDCLASS.                    "lcl_alv_toolbar IMPLEMENTATION
    *&      Form  fetch_data
          text
    -->  p1        text
    <--  p2        text
    FORM fetch_data .
    Select the tcodes upto 200 rows from TSTC
       SELECT   tcode
               pgmna
               FROM tstc
               INTO CORRESPONDING FIELDS OF TABLE it_table
               UP TO 200 ROWS
               WHERE dypno NE '0000'.
    *Select the tcode textx
       IF it_table[] IS NOT INITIAL.
         SELECT ttext
               tcode
               sprsl
               FROM tstct
               INTO CORRESPONDING FIELDS OF TABLE it_ittext
               FOR ALL ENTRIES IN it_table
               WHERE tcode = it_table-tcode
               AND sprsl = 'E'.
       ENDIF.
    Apppending the data to the internal table of ALV output
       LOOP AT it_table INTO wa_table.
        wa_output-tcode = wa_table-tcode.
        wa_output-pgmna = wa_table-pgmna.
       For texts
        READ TABLE it_ittext INTO wa_ittext WITH KEY tcode = wa_table-tcode.
        wa_output-ttext = wa_ittext-ttext.
         APPEND wa_output TO it_output.
        CLEAR wa_output.
       ENDLOOP.
       ENDFORM.                    " fetch_data
    *&      Form  alv_output
          text
    -->  p1        text
    <--  p2        text
    FORM alv_output .
    *Calling the ALV
      CALL SCREEN 0600.
      ENDFORM.                    " alv_output
    Calling the ALV screen with custom container
    On this statement double click  it takes you to the screen painter SE51.Enter the attributes
    *Create a Custom container and name it CC_CONT and OK code as OK_CODE.
    *Save check and Activate the screen painter.
    Now a normal screen with number 600 is created which holds the ALV grid. PBO of the actual screen , Here we can give a title and *customized menus
    *&      Module  STATUS_0600  OUTPUT
          text
    MODULE status_0600 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0600  OUTPUT
    calling the PBO module ALV_GRID.
    *&      Module  ALV_GRID  OUTPUT
          text
    MODULE alv_grid OUTPUT.
    *create object for custom container
      CREATE OBJECT c_ccont
           EXPORTING
              container_name = 'CC_CONT'.
    *create object of alv grid
      CREATE OBJECT c_alvgd
          EXPORTING
              i_parent = c_ccont.
    create ALV event handler
      CREATE OBJECT c_alv_toolbar
        EXPORTING
          io_alv_grid = c_alvgd.
    Register event handler
      SET HANDLER c_alv_toolbar->on_toolbar FOR c_alvgd.
    Fieldcatalogue for ALV
       PERFORM alv_build_fieldcat.
    ALV attributes FOR LAYOUT
      PERFORM alv_report_layout.
       CHECK NOT c_alvgd IS INITIAL.
    Call ALV GRID
       CALL METHOD c_alvgd->set_table_for_first_display
        EXPORTING
          is_layout                     = it_layout
        CHANGING
          it_outtab                     = it_output
          it_fieldcatalog               = it_fcat
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDMODULE.                 " ALV_GRID  OUTPUT
    *&      Form  alv_build_fieldcat
          text
         <--P_IT_FCAT  text
    FORM alv_build_fieldcat.
       DATA lv_fldcat TYPE lvc_s_fcat.
      CLEAR lv_fldcat.
      lv_fldcat-row_pos   = '1'.
      lv_fldcat-col_pos   = '1'.
      lv_fldcat-fieldname = 'TCODE'.
      lv_fldcat-tabname   = 'IT_OUTPUT'.
      lv_fldcat-outputlen = 8.
      lv_fldcat-scrtext_m = 'TCODE'.
      APPEND lv_fldcat TO it_fcat.
      CLEAR lv_fldcat.
       lv_fldcat-row_pos   = '1'.
      lv_fldcat-col_pos   = '2'.
      lv_fldcat-fieldname = 'PGMNA'.
      lv_fldcat-tabname   = 'IT_OUTPUT'.
      lv_fldcat-outputlen = 15.
      lv_fldcat-scrtext_m = 'PROGNAME'.
      APPEND lv_fldcat TO it_fcat.
      CLEAR lv_fldcat.
      lv_fldcat-row_pos   = '1'.
      lv_fldcat-col_pos   = '3'.
      lv_fldcat-fieldname = 'TTEXT'.
      lv_fldcat-tabname   = 'IT_OUTPUT'.
      lv_fldcat-outputlen = 60.
      lv_fldcat-scrtext_m = 'Description'.
      APPEND lv_fldcat TO it_fcat.
      CLEAR lv_fldcat.
    ENDFORM.                    " alv_build_fieldcat
    *&      Form  alv_report_layout
          text
         <--P_IT_LAYOUT  text
    FORM alv_report_layout.
       it_layout-cwidth_opt = 'X'.
       it_layout-zebra = 'X'.
    ENDFORM.                    " alv_report_layout
    PAI module of the screen created. In case we use an interactive ALV or
    *for additional functionalities we can create OK codes
    *and based on the user command we can do the coding.
    *&      Module  USER_COMMAND_0600  INPUT
          text
    MODULE user_command_0600 INPUT.
    ENDMODULE.                 " USER_COMMAND_0600  INPUT
    thanks,
    gupta

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Multiple Choice Question Issues

    I am embedding a quiz within my presentation with individual
    question slides interspersed throughout the presentation. These
    questions are pulled from a couple of different question pools. I
    want to use a multiple choice question that branches to different
    parts of the presentation depending on the correct or incorrect
    answer. If the user answers the question incorrectly, I send them
    to the next slide which has two click boxes. On this slide, they
    can either click one box to move back in the presentation and
    review the material or click another box to move them forward to
    another multiple choice question. If they go back and review the
    information, they would eventually return to the same multiple
    choice question to try it again. (This is the desired navigation,
    anyway.)
    What actually happens is that when the user goes back to
    review the information and then finally returns to the question,
    the question has not been reset and still shows the incorrect
    answer marked with no way to clear it.
    I have used this same navigation on a drag-and-drop type
    question and it works fine. All the settings for the
    multiple-choice questions are set the same as in the drag-and-drop
    question.
    Any help in making this work correctly would be greatly
    appreciated.

    I can't see where that error might arise except possibly for a case where an AS2 radio is used since it appears they don't have a group property, but an AS3 radio button does.  Check to be sure that your Flash Publish Settings are set to use AS3.  AS3 errors normally have error numbers which also makes the error you quoted ring of an AS2 scenario.
    Here's a link to the file I made based on your code that works fine and doesn't display the errors you mention.  It is a CS3 file.
    http://www.nedwebs.com/Flash/AS3_Radios.fla

Maybe you are looking for