Creating conditional actions based on the results of the quiz

I have a quiz at the end of my captivate file and I try to get to show different based on images if you have passed the quiz, or if you failed. For example if you pass, I want to show an image of the tick, and if you do not have an image of the cross, on the results slide.

I tried to create this by implementing a conditional action. I put the two images on the slide and they hid. Then I have a conditional action value:

IF
cpQuizInfoPointsscored greater than or equal to 70

ACTION

See the Image_tick

ON THE OTHER

See the Image_cross

When I play the quiz or image shows that I have success or failure (the quiz is set to a 70% pass - there are 10 questions, and all are worth 10 points)
I am new to Captivate so that any help would be appreciated!
Thank you

Each action must be triggered by 'something', which is an event. You must attach to an event, I suspect that the event on enter score slide is one that suits. Select the slide of score, look in the properties panel, tab Actions, perform actions on enter, choose the action.

In addition, there is a difference between the system variable cpQuizInfoPointsscored and cpInfoPercentage. Personally, I would use the simpler cpQuizInfoPassFail:

IF cpQuizInfoPassFail is equal to 1

See the tick

On the other

See the cross

Download the tables in these two articles:

System variables in Captivate 8/9 - Captivate blog

Events / Actions (Advanced) - Captivate blog

Tags: Adobe Captivate

Similar Questions

  • I'm looking for a javascriptor for photoshop. I need to create conditional actions according to the decimal ratio.  Thank you

    I'm looking for a javascriptor for photoshop. I need to create conditional actions according to the decimal ratio.  Thank you

    You can find us an if-else for this statement. You can put the reports what ever you want:

    #target photoshop
    var doc = activeDocument;
    var ratio = parseFloat(doc.width/doc.height);
    if(ratio<.25){//enter code here to run action
         }
    if else(ratio<.5){//next code
         }
    if else(ratio <1){more code}
    else{more code}
    
  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • Conditional action to display the button next main Menu after received the visit 4 slides

    Is there a tip Action to display a next button on a slide after that 4 different slides have been opened?

    Hello

    Why are you putting this issue separately, I thought it was related with the other thread? If you ask this question, it will be more difficult to answer and resolve only in combination with other advanced action who showed the images. Because the next button must be made visible on this same blade where you show the pictures, or is that not the case?

    You must create a user variable, I'll label it v_counter. Whenever you show a picture, you must increment this variable (second statement after image) like this:

    Expression v_counter = v_counter + &

    And then you add a fifth of the decision to your advanced conditional action, which checks the value of v_counter and show the button hidden in the following departure if the meter is at least 4:

    If v_counter is greater than or equal to 4

    Then display the button

    Otherwise, continue

    But if you want a literal answer to this question, it will be something different and more complicated. Because then I need to know if visited slides will be viewed entirely until the last image? If yes you can trigger a fast action by the event leaving. BTW, still do not know how you will trigger the action of tip of the other thread, by what event?

    Lilybiri

  • How to use PL/SQL to create dynamic action to set the value of a selection by another list?

    Hello

    I would like to know how to use PL/SQL to create dynamic action to set the value of a list of selection by another selection list.

    1.PNG

    I wish can create dynamic action to manage the two above the Room select list (: P9_ROOM) and building (: P8_BUILDING).

    When you select "1074" in the bathroom, building highlights like "BRM BLD 5"

    When you select 'Area of the black box' in the room, building must assign the value "7 BLD BRM"

    When the room is Null, building should also be Null.

    I thank you,

    Alice

    I forgot to mention, for the PL/SQL Code, because you are working with items in the selection list, the return values are different from the display on your LOV values, you must instead use the return values.

    Thank you

    Erick

  • Why when I create an action to resize the eps files action ignores the resizing?

    Hey everybody...

    I'm trying to resize eps batch files.  I create an action to resize the files.  The batch jumps on the action of resizing.  I find myself with the same files only difference is that they are saved in a different folder.

    Thanks in advance!

    If all the data in the file is a vector eps, there is nothing to resize. It is mathematical values everything and so will always be of the same size.

    However, you may compress the file with a zip compressor or similar.

    If I understood, please give more details.

  • After you create an action to reduce the size and convert them to JPEG format, how to eliminate the word "copy" of each image name?

    After you create an action to reduce the size and convert them to JPEG format, how to eliminate the word "copy" of each image name?

    You can batch process using the image processor script and no user action should still be included in the process.  Check out our menu file > Scripts > image processor.

  • Can I create an action to move the last page to the first?  I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.

    Can I create an action to move the last page to the first?  I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.

    Yes, you can do it using a script. This code should do the trick:

    this.movePage (this.numPages - 1, -1);

  • Create a form based on the procedure

    Hi all

    I am creating a form based on the procedure, but when I entered the name of stored procedure, I got this error:
    Specified procedure could not be found, please choose a procedure name valid store.

    965628 wrote:
    My procedure is in a package.

    How can I prepend package name?

    Like this

    your_package_name.your_procedure_name(parameters);
    
  • How to create a report based on the selection of a node of a tree

    Hello

    I am new to Oracle Apex and tried to build a tree and also an interactive report based on column empno from emp table.

    I created a tree based on the emp table. Now, I want to see the records in the employee selected in the tree.

    This is the query of the tree:

    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    NULL as link
    of ' #OWNER # '. " EMP.
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.

    Can someone tell me step by step how to go from here?

    I tried to follow the thread Re: question of tree but could not understand a lot of it.

    The approach to reload the page and display the report is fairly simple.

  • You start by creating a new page element that will be used to store the selected node ID, for example. P100_SELECTED_NODE (you can do atext element and change hidden once everything works as expected)
  • Change the query of the tree and the link column in the SQL of tree definition to a link to the same
    for example if your page is 100, you'd do the tree node a link to the same page but the value of the P100SELECTED_NODE with id_ of the node selected
    This is done here
    {message: id = 4410987}
    In this case, it would be

    ' f ? p = & APP_ID.: 100 :'|| : APP_SESSION |': P100_SELECTED_NODE :'|| EMPNO as link

    Now when you click on a link to tree node, it would be back to the same page, but set the P100_SELECTED_NODE with the empno of the clicked node.

  • All that's left to do, change your report so that it refers to the new point inorder to filter records for this employee empno i.e

    SELECT ...
      ..
    WHERE empno= :P100_SELECTED_NODE
    
  • Textarea conditional display based on the value of the checkbox.

    Hi all

    I have a question regarding the conditional display of an article based on the value of the checkbox.

    I have a checkbox in a region, which is a STATIC LOV:; Y and the text box in the same region. Now I want to show this textarea only if the check box is selected. ??

    Please suggest how to achieve this.

    Thank you

    DC

    Hello

    I guess that you are 4.2 Apex as you haven't shared the same.

    • Create a dynamic Action on change of box which should present the value of the checkbox and update the TextArea element.
    • Then continue as conditional Textarea with checkbox value.

    BR,

    Patrick

  • Conditional display based on the value of line

    I have a report table with several lines on it.  I need to post a link to another page of user action if a value in the line corresponds to an attribute of the user's role, so they can act on the item.  Other display or update the document would not be able to run the link.

    The logic of nickname would go something like this:

    If user_role = role_this_line_item then

    display approval_link

    on the other

    Hide approval_link

    end if

    I know how to write pl/sql to return to the display of the correct state of true/false, but I can't find out how to reference the value on the display line.  I tried: role_this_line_item, role_this_line_item, #role_this_line_item # and none of them return one value other than false.  How to refer to an attribute on the current line of the decision to hide/show correct?

    Al

    Al Wondra says:

    I use V4.2.6 Apex in local installation of Oracle 11 g XE.  I tried with IE, Firefox and Chrome.  None has the conditional display.

    The report is a standard report created using the Apex report wizard.  I'm one of the columns (the ID of the line) changing to conditionally a link to a page to data entry.  I only need one line at a time to be the active link.  No line should have a link, if the user is not the role is required to perform this action.

    You have described my question exactly, it seems, that the conditional rendering is applied to the entire column.  I need that it is applied to specific lines.  Some lines (1) will be the active link.  All other lines does not display the link.  Is this possible?

    If you want the value of the ID to display for each row returned by the report, but only rendered as a link, if the condition is true? The values used in the State come "role_this_line_item" seems to be a value of a column in the report. "User_role" is also a column value?

    The simplest option is to modify the column attribute display as for the Standard report columnID column and conditionally generate the link in the report query:

    select
        ...
      , case
          when user_role = role_this_line_item
          then
            'where DATA_ENTRY is the 'data entry page' target number or alias of the page.

  • Box text entry actions based on the value

    Hello..

    I am currently working on a software simulator where users search for commands by typing an order number in a search box... In Captivate, I created a box of text with the button 'send', what I am trying to achieve is if the user type specific value (digits) and click 'submit' button it will take them to a specific project slide, BUT if they the type value of the difference (in the same entry box) and click on 'submit' button, they will need to slide in the project different?

    hope that I have explained clearly the question... BTW, I am using Captivate v5

    Thank you

    OK, you know how to add the correct entries. The infinite attempts value and create this conditional action to trigger success for ETB:

    I created a user variable to associate with the ETB instead of the generic, it is labeled v_order.  I scored the slides to move to so, which makes it easier to use in a tip action. Screenshots are from CP8, so will look slightly different for you, but what you hneed is the same.

  • conditional merge based on the date

    Need help on a merge statement. I need to merge two dataset. But when the key match, I also need to cpmpared the date before I merege it.
    See code below
    drop table x1;
    
    drop table y1;
    
    select * from x1;
    
    select * from y1;
    
    create table x1 (id number,name varchar2(10),cdate date,status varchar2(1));
    
    create table y1 (id number,name varchar2(10),cdate date,status varchar2(1));
    
    insert into x1 select 1,'A',sysdate - 100,'Y' from dual;
    
    insert into y1 select 1,'A',sysdate - 50,'N'  from dual ;--should change x1.status to y1.status  and x1.cdate to y1.cdate as y1.cdate > x1.cdate
    
    insert into x1 select 2,'B',sysdate - 20,'Y' from dual;
    
    insert into y1 select 2,'B',sysdate - 120,'N' from dual ;--should leave status in x1 alone
    
    insert into y1 select 3,'c',sysdate - 10,'Y' from dual; --should do an insert on x1 
    
    commit;
    
    --how do I do a conditional merge (key=id,name)
    -- based on the cdate. If y1.cdate >= x1.cdate then take the y1.status  and y1.cdate
    
    --desire output
    select * from x1
    1     A     01/01/2012 10:54:35 AM     N
    2     B     1/31/2012 10:54:37 AM     Y
    3     C     1/31/2012 10:54:37 AM     Y

    Hello

    You can add a WHERE clause to the WHEN MATCHED THEN UPDATE section.

    WHERE   x1.cdate  < y1.cdate
    

    Thanks for posting the CREATE TABLE and INSERT statements; It is very useful. It would also help if you have validated your MERGE statement, even if it does not work perfectly.

  • Java Script to perform a different Action based on the Orientation of the Image

    I need help creating a Java Script to perform a different action based on image orientation landscape vs. portrait. Can someone help me in this task.

    Thank you

    The Wookiee

    That should do it.

    docRef = app.activeDocument;

    If (docRef.width > docRef.height) doAction ("Action of landscape", "action group '");

    another action ('Portrait Action', 'Action Group');

Maybe you are looking for

  • 10 Windows does not even recognize Stor.e Alu 2...

    I bought external HDD Stor.e Alu 2 750 GB before I went on Windows 10. Whenever I connect the HARD drive, the blue flashes, but it is nowhere! It's like not even connected! Anyone know what I can do about it? Thank you in advance.

  • Lenovo S850 ringtone problem

    I have problem with select ringtone... If I select ' ringtone more "... that... error

  • I'm looking for the narrow inverted comma without the curve!

    original title: narrow inverted comma without the curve! Dear all Someone please show me how to type the comma inverted narrow except a right instead of a curve? I would be really grateful, as is the sign for the final accent in our language.  I put

  • problem installing Windows on HP Pavilion m 8070uk

    Hi I have a HP Pavilion m 8070uk with windows vista home premium, service Pack2, 32 bit, when I try to install a new program I get (the windows can not access the service install) my computer came with windows pre-installed vista, any help would be m

  • Problem installing WIN 7 64 bit on a Vostro V131 with SSD

    Hello everyone, I just got my new Vostro V 131 with i5 2430 M, 4 GB RAM, HD3000 graphics and standard 500 GB HARD drive! I already had a new OCZ Vertex 3 120 GB SSD and wanted to change it against the bed on the HARD drive. I put a boot Win 7 64 bit