Add up the scores in the text box with a variable

Hello

I create a quiz form that does not use the quiz slides (5,5) standard Adobe Captivate. I get the learner to mark themselves and enter the score into a text entry in a TextAreaWithVariable area. The scores are then displayed on the last page in the corresponding text box TextAreaWithVariable.

I wish that Captivate to add up the scores on the last page. I've read somewhere that you use Actions in advance, so when the student enters the page it triggers the calculation by using the action of the Expression. The problem is that when you configure the action, it does not recognize the three TextAreaWithVariables on the page. They are all appointed, but the action does not pick up them.

Could you get it someone please let me know where I am going wrong here.

Thank you very much

Nick

Hi Nick,

I've been blogging on the use of the text with Variables by Jim box:

Extended features

In the article referenced to in this post, you will find explanations in detail the advanced actions that I used.

But I'm a little afraid that I need additional information:

  • you have a text box, with its variable partner on one page and this variable gets its value (20) by the user
  • How many of these slides you?
  • but then, you talk of multiple partitions that you want to summarize in a total variable to be displayed on another TextArea widget to the last slide.

How you trigger the advanced actions to calculate the sum? I suggest that use you the action on enter each slide after the first question slide to temporary sum. Try to explain:

  1. Score of the first slide in question entered by the user and stored in the variable v_quest1
  2. Entering the second question slide create this advanced standard action triggered by action on enter on this slide
    • Expression v_sum = v_sum + v_quest1
    • Continue
  3. Entering the third question slide create a similar action with the score stored in v_quest2
    • Expression v_sum = v_sum + v_quest2
    • Continue
  4. When you enter the slide of score you the last of this breakthrough of similar actions to trigger and the final result will be in v_sum

If you do not need to keep the individual from each question scores, you can even re - use only a single variable v_quest that would be associated with all widgets except on the slide to score and you can reuse the action advanced on each slide without having to edit.

Lilybiri

Tags: Adobe Captivate

Similar Questions

  • Replace the text box with Image through breakpoints

    Hello

    I'm looking to replace the text boxes and icons with images and want to know if I can do this on several break points at the same time without having to go and manually change each breakpoint.

    My site is here: Movement of Boulder

    In the Services section of the wider breakpoint, you can see the images that I want, but if you minimize the browser window, you will see the images and the text that he was supposed to replace. Is it possible to replace all the text boxes with the images you want?

    Hello griffinb,

    If you delete a breakpoint text areas, they will be removed from all.

    After you have placed your image just right-click on it and select the option ' copy the style and position > to other breakpoints.

    Let me know if you have any problems getting there.

    Kind regards

    Ankush

  • How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    Ashley,

    What about window > show the rectangle enclosing (Ctrl / Cmd + Shift + B to toggle)?

  • Turn off the text box with the value of the checkbox

    Hello people,

    I am trying to activate or disable the text box with the value of the CHECKBOX, I have got the same thing with the BOX of ELECTION, with the javascript as follows: -.

    HEADER HTML
    ----------------------
    < script type = "text/javascript" >
    function disableOnValue (o)
    {
    If (o.value == 'Y')
    {
    document.getElementById('P2_TEXT_BOX1').disabled = false;
    document.getElementById('P2_TEXT_BOX2').disabled = false;
    document.getElementById('P2_TEXT_BOX3').disabled = false;
    }
    on the other
    {
    document.getElementById('P2_TEXT_BOX1').disabled = true;
    document.getElementById('P2_TEXT_BOX2').disabled = true;
    document.getElementById('P2_TEXT_BOX3').disabled = true;
    }
    }
    < /script >
    ---------------------

    under region Source whose Point display is < b > before < /b > foot and sequence is the last sequence of the entire region
    ----------------
    < script type = "text/javascript" >
    If (document.getElementById('P2_RADIO_BUTTON_0').checked is true)
    {disableOnValue (document.getElementById('P2_RADIO_BUTTON_0')) ;}
    on the other
    {disableOnValue (document.getElementById('P2_RADIO_BUTTON_1')) ;}
    < /script >
    ----------------

    and finally, to the title of point RADIO_BUTTON, HTML Form element attributes: -.
    -----------
    OnChange = "JavaScript:disableOnValue (this); »
    ----------

    the thing above works very well with the help of the RADIOBUTTON, but I want to try same thing with the CHECK_BOX I also tried a few changes but did not have any success so if someone help out me even that will be great and appreciated!


    Thank you

    Kind regards
    Kumar

    I also have the following in the Footer region region:

    <script type="text/javascript">
    x($x('P12_CHECKBOX'));
    </script>
    

    This is just to make sure that the items are disabled when the page is loaded, because the checkbox is deactivated

    Andy

  • Turn off the text box with calendar

    Hi, how can I set it so cannont users enter text in the text box next to the date picker? This way I can make sure they choose a date invalid.

    Hello

    One way is to add article attributes of HTML form elements

    onfocus="blur()"
    

    BR, Jari

  • White type in the text box with fill with transparency

    This page of color in my INDD document a lot of transparency on this - in the following stacking order:

    1. downstairs are two boxes gradients covering the entire page.

    2. next is a background photo that's an advantage to feathers.

    3. then comes my text box that floats over a part of the photo in the background. The text box is filled with a gradient purple feather. The text box contains 8.5 PT. White type (Helvetica Neue Medium).

    4. a transparent dingbat straddles a corner of the text box.

    Where the white guy is pictured in the background, a color is reflected type. I have not noted on the PDF, but of course, the work of back of the printer, you can see.

    I thought all type except automatically eliminated black?

    I pulled out the file using PDFX-3 (1.3) because my printing does service provider ' t supports the 1.4. I underdstand this version flattens transparency. I scanned "Print Production Guide for transparency" Adobe and learned that the areas of complex transparency can cause unexpected results. Is what happened here?

    When I opened the flattening of transparencies and he asked to highlight objects with 'Text of Raster-Fill and Stroke' or 'Text described', this type area is highlighted. No other boxes on this page type were noted, even where it overlaps the background photo (which has applied feather).

    Several other transparent dingbats (such as duplication of the text box) are also highlighted as 'Raster - Fill and Stroke text'. They are all on the highest layer (type).

    This isn't a disaster - it's still readable - but the details of the publication who are affected, which is important. Maybe next time I won't be as lucky. What would I do different?

    It is possible in the more recent versions of ID to the value of transparency to the object, STROKE, fill and levels of content, and I suspect that you have applied your effects to the object level. I was able to recreate what you see as well by using the gradient feather tool and in the effect controls panel and using the pen it y to the entire object. Oddly enough, once the gradient feather tool has been used I couln can't access options in the effect controls panel or in the menu object.

    In all cases, if you can, select the block of text, open the effect controls panel or object > Effects > menu feather degraded, remove the gradient feather and reapply just the filling.

    If you are not able to do so, copy the text, delete the block of text and create a new and paste back the text, and then select the image and apply the gradient feather to complete using the effect controls panel or the menu object.

  • How to make the text box with scrollbar

    I am just learning CSS and Dreamweaver CS4. I have a page that has a lot of text and go on a background image. I need to make one of these text boxes I've seen who can be put in the center of the page and has a slider for people bar can read all the text. I might look for it, but I have no idea what they are called. I tried Googling some names I thought it could be, but they turned out not to do.

    Could someone tell me what they are called and point me to a tutorial on how to make one in Dreamweaver?

    Thank you very much!

    Carole

    Scrolling CSS Division

    {#divName}

    Width: 500px;

    height: 400px; / * adjust the height as required * /.

    overflow: scroll;

    }

    More information about the overflow property

    http://www.w3schools.com/CSS/pr_pos_overflow.asp

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • Fill the text box with mulitple selctions of list box

    Hello

    I am new to LiveCycle and searched the forums for an answer on how to complete multiple selections in a list box to a text field.

    I added to the field calculate the text field the following: TextField14.rawValue = ListBox1.rawValue

    Is there a way I can change this so that the items of the listbox to enter the text so that the values appear side by side (California, Connecticut, New York), instead of up and down?

    Joe

    I would use the JS code following in the "exit" from the list box event

    var

    ListValue = this.rawValue;

    ListValue

    = replaceAll (ListValue, "\n", ",");

    TextField1.rawValue

    = ListValue;

    function

    replaceAll (oldStr, findStr, repStr) {}

    var srchNdx = 0; srchNdx keep track where in the line

    of oldStr we seek.

    var newStr = ""; newStr will contain the altered version of the oldStr.

    While (oldStr.indexOf (findStr, srchNdx)! = - 1).

    As long as there are strings, replace this loop

    will run.

    {

    newStr

    += oldStr.substring (srchNdx, oldStr.indexOf (findStr, srchNdx));

    Put all of the unchanged text of a findStr to

    the next findStr in newStr.

    newStr

    += repStr;

    Instead of putting the old rope, put in the

    new string instead.

    srchNdx

    = (oldStr.indexOf(findStr,srchNdx) + findStr.length);

    Now jump to the next segment of text up to the next findStr.

    }

    newStr

    += oldStr.substring (srchNdx, oldStr.length);

    Put everything that is left in newStr.

    return newStr;

    }

    Good luck

  • How the little purple pink squares onto a PDF to add/change the text. Also how edit you fonts? This app is not easy to use. Read the instructions and they are lacking to say the least.

    I hate this app! I read the user guide, but it does not with the application. How/where are the small Pink/Purple to add/change the text boxes? How can we change phont and point?

    If you use Adobe Reader/Acrobat Reader, that you do not sense because it's none of those things.

    Edit a PDF file and the creation of form fields are made with Acrobat Standard or Acrobat Pro.

    Once the fields of the form are added, people with Adobe Reader can fill.

    Note that, even in Acrobat Pro, editing is very limited and frustrating because PDF is not made for editing.

  • Cannot mount the frame to the text box

    Hello!

    I'm in InDesign CS6, on a 2011 iMac, and I often see this problem when I try to make a block of text to its content.

    Initially, it looks like this:

    by default 2015-08-20 at 22.14.53 PM.png

    Then I click on "mount the frame to the content" in the menu object, or by double-clicking on the handle at the bottom right of the text box.

    And then I get this thing:

    by default 2015-08-20 at 22.15.01 PM.png

    The police is Montserrat (free fonts, you can install it and see how it feels on your side).

    Editing is perfect on the left and right and on the bottom, but there's a margin of 10 pixels between the top of the text and the text box.

    It's really annoying when I try to align the text boxes with objects horizontally, because I then create outlines for text boxes.

    Given that this does not happen always, only with certain fonts, I am led to think that the height of the letters is not correctly calculated within the font file? I'll ask the proponent to the police for help as well, unless there is something like a value of high indentation of the hidden default page that I'm not aware of, or a solution of workaround that someone will report.

    Thank you

    In ID, select the block of text, right-click, and choose Options of text block, then the Baseline Options tab. You can set the first base line on the menu drop-down.

  • Formatting of the text box fields

    Hello, I have a few fields of boxes of text with the following properties:

    (1) PL/SQL function that returns body
    2) display as text
    (3) with labels, right-justified.
    (4) all the text boxes contain numeric values

    I would like just to justify the numeric values so that they line up on the right. How can I do this? They look like this now.

    Tuition 3032
    Cost of 225
    849 books
    Cost per term 4106

    I would like that they look like this:

    Tuition 3032
    Cost of 225
    849 books
    Cost per term 4106

    Thank you
    Snowbunny

    Hi Sunny,
    It is very easy. What you have to do, go to the edit page, click the label that you want to change. Click the element in the top of the title page and edit Horizontal / Vertical alignment to right. It displays the value in the text box with a tangent.

    Hope this will help,

    Ta

    Djelloul

  • cifif in the input box with an image that has a calendar of jscript.

    Hello
    I understand that it is an input box with an image that has a calendar of jscript.

    I want to know why it contains the cfif for and other CF tags

    Please explain

    "(< td > < input name ="dlexpdate"class ="inputbox"type ="text"id ="dlexpdate"value =" < cfif isdefined ("getV.dlexpdate") > #DateFormat(getV.DLExpDate,"mm/dd/yyyy") # < / cfif > "size ="10"maxlength ="10">
    "< input type ="image"src="#request.site.imagePath#/calendar.gif "id ="f_trigger_b"alt =" select date "title =" select date ">
    < script type = "text/javascript" >
    Calendar.Setup ({}
    inputField: "dlexpdate", / / *.
    ifFormat: "% m/%d/%Y."
    showsTime: false,
    button: "f_trigger_b", / / *.
    step: 1
    });
    < /script > < table

    silviasalsa wrote:
    > query getV and there is a column named dlexpdate?
    >
    > Why to look for a query and a column if it is an input box?
    >
    >

    to pre-fill the text box with a value of getV.dlexpdate. If the entry
    box is not empty, but contains a value (a date in this case, I guess).

    --

    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com

  • Add a little height to the text box in indesign?

    Hello!

    I have a big and nice script that applies the changes of height/width of a document based on the object styles, and other settings.

    But what I really need, is a script that comes Add a little height to a text box selected. It doesn't have to rely on the object styles and should only apply to a single box.

    I learn to program, but have no knowledge in javascript so far...

    Is it possible to shoot the script under?

    (Source: https://forums.adobe.com/thread/628574)

    setBoundsOfObjectsWithAppliedObjectStyle.jsx

    DESCRIPTION: change the settings of the applied with a certain style of object

    2010/02

    var doc = app.documents.firstItem ();

    var the_operator is ["absolut", "addieren", "multiplizieren", "prozentual scale"];.

    var r = get_param (doc.objectStyles.everyItem () .getElements () .slice (0), the_operator);

    var f_objects = get_objects (r.style);

    apply_values (f_objects, r, the_operator);

    function apply_values (the_objects, r)

    {

    for (var i = the_objects.length - 1; i > = 0; i--)

    {

    var f is the_objects [i] .visibleBounds;.

    If (r.op == the_operator [0]) / / 'absolut')

    {

    _y2 var = (r.height! = 0)

    ? Go [0] + r.height

    : gb [2];

    var _x2 = (r.width! = 0)

    ? GB [1] + r.width

    : GB [3];

    }

    Else if (r.op == the_operator [2] | r.op == the_operator [3]) / / oder "multiplizieren" "prozentual scale".

    {

    var the_div = (r.op == the_operator [2]) / / 'multiplizieren')

    ? 1

    : 100;

    _y2 var = (r.height! = 0)

    ? Go [0] + (gb [2] - gb [0]) * r.height/the_div

    : gb [2];

    var _x2 = (r.width! = 0)

    ? GB [1] + (gb [3] - gb [1]) * r.width/the_div

    : GB [3];

    }

    Else if (r.op == the_operator [1]) / / "addieren")

    {

    var _y2 = r.height; + GB [2]

    var _x2 = GB [3] + r.width;

    }

    the_objects [i] .visibleBounds = [[0] [1], _y2, _x2];

    }

    }

    function get_objects (a_style)

    {

    app.findObjectPreferences = null;

    app.findChangeObjectOptions.objectType = ObjectTypes.ALL_FRAMES_TYPE;

    app.findObjectPreferences.appliedObjectStyles = a_style;

    var the_result = doc.findObject ();

    app.findObjectPreferences = null;

    Return the_result;

    }

    function get_param (_styles, the_operator)

    {

    var style_names = new Array;

    Ausklammern von "CLX Raster []"

    for (var a = 1; a < _styles.length; a ++)

    style_names.push (_styles [a]. (Name)

    var min_width = 140;

    var field_width = 40;

    myDialog = app.dialogs.add var ({name: "Breite und Höhe von objects verandern"});

    with (myDialog.dialogColumns.add ())

    {

    with (dialogRows.Add ())

    {

    with (dialogColumns.Add ())

    {

    staticTexts.add ({staticLabel: "Objektstil:", minWidth:min_width});})

    }

    with (dialogColumns.Add ())

    {

    var myStylesDropDown = dropdowns.add ({stringList:style_names, selectedIndex:style_names.length - 1,:min_width}) minWidth;})

    }

    }

    with (dialogRows.Add ())

    {

    with (dialogRows.Add ())

    {

    with (dialogColumns.Add ())

    {

    staticTexts.add ({staticLabel: "Breite:", minWidth:min_width});})

    }

    with (dialogColumns.Add ())

    {

    var myWidthTextEditbox = textEditboxes.add ({editContents: "0", minWidth:field_width});})

    }

    }

    with (dialogRows.Add ())

    {

    with (dialogColumns.Add ())

    {

    staticTexts.add ({staticLabel: "height:", minWidth:min_width});})

    }

    with (dialogColumns.Add ())

    {

    var myHeightTextEditbox = textEditboxes.add ({editContents: "0", minWidth:field_width});})

    }

    }

    with (dialogRows.add ()) {}

    {with (dialogColumns.Add ())}

    staticTexts.add ({staticLabel: "operation:", minWidth: min_width ""});

    }

    with (dialogColumns.Add ())

    {

    var radio_buttons = radiobuttonGroups.add ();

    {with (radio_buttons)}

    radiobuttonControls.add ({staticLabel: the_operator [0], checkedState: true, minWidth: min_width});

    radiobuttonControls.add ({staticLabel: the_operator [1], checkedState: false, minWidth: min_width});

    radiobuttonControls.add ({staticLabel: the_operator [2], checkedState: false, minWidth: min_width});

    radiobuttonControls.add ({staticLabel: the_operator [3], checkedState: false, minWidth: min_width});

    }

    }

    }

    }

    }

    Ditto var = myDialog.show ();

    if(myResult == true)

    {

    var a_style = doc.objectStyles.item (myStylesDropDown.selectedIndex);

    var a_width = Number (myWidthTextEditbox.editContents.replace (', ','.'));

    var a_height = Number (myHeightTextEditbox.editContents.replace (', ','.'));

    var a_operator = the_operator [radio_buttons.selectedButton]

    If (isNaN (a_width))

    a_width = 0;

    If (isNaN (a_height))

    a_height = 0;

    myDialog.destroy ();

    }

    on the other

    {

    myDialog.destroy ();

    Exit();

    }

    return {style: a_style, width: a_width, height: a_height, op: a_operator};

    }

    var resizeItem = function(item, h) {
      const cs = CoordinateSpaces.INNER_COORDINATES,
      ap = AnchorPoint.TOP_LEFT_ANCHOR,
      rm = ResizeMethods.ADDING_CURRENT_DIMENSIONS_TO;
      item.resize  ( cs, ap, rm, [0,h] );
      }
    
    var h = new UnitValue ( "2mm").as("pt");
    resizeItem ( app.selection[0], h );
    

    Here you are

    Loïc

    www.ozalto.com

  • The existing letters disappear in pdf when I add the text box

    If I get letters in the text disappearing as soon as I type anything in a new text box. I have acrobat pro 8.1 Windows XI.

    My pdf document looks very good. All the text is there that's supposed to be here. I have to add areas of text on some pages, so I click "Add text", I click on any area in my document and the text box appears. As soon as I type anything at all "random" letters disappear throughout my document. I say randomly is a l e meantime, etc, but it's the same letters of the words disappear each time. A month ago, I was working on the very document that does exactly the same thing and had no trouble adding text without letters endangered.

    I've been playing with it for several hours now and I'm ready to punch a hole in the wall.

    Any ideas?

    Thanks for 'all' the help (I'm kidding, of course) but I figured it out on my own.

    Tried many, many things and what has worked in the end increased the dpi of the pdf when it was created first. I'd put it at 300 dpi, which was the same default setting for all other documents I created and manipulated without a problem, but for some reason, it does not work now. I tried to 600 dpi and it is fine. All letters remain in place when I add new text boxes. Probably the other ppp settings would also work, but I have not tried.

  • Add text without the text box in a form

    How can I add permanent text to a form without using the "Text Box" function?

    In Acrobat XI: Tools - content editing - add text

Maybe you are looking for

  • Authorization of El Capitan drive messed

    Well, I did something very stupid by changing the permission of MAC drive partition. I removed the permission for everyone. I haven't touched the other two (System and wheel). The system began to freeze, I had to force quit... Now, I can't start my e

  • IOS 9.3.1 bad news updated

    The new 9.3.1 update is bad and does not solve the problem with the links When you click on some links on facebook, the facebook app close and get out Please solve this problem

  • LaserJet M506: the 99.39.64 printer error

    Printer worked fine for 2 months and today he came up with an error code 99.39.64 Unplugged and plugged in and same problem any help would be appreciated 310pilot

  • Can not download emails (Gmail and Hotmail)

    Original title: attachments Have a new computer + Windows 8. Able to read emails (gmail & Hotmail), but not 'download?' information of Windows start page. When I click on play now etc. I get the blue screen of Internet Explorer. It worked perfectly s

  • Check the installed version of statspack.

    HelloDoes anyone know how to check the version of statspack installed?The statspack was not upgrated to the time of the database the database is Oracle 11 g 2I need to know if the statspack 9i or 10g or 11 GR 1 material.Thanks in advance,Marcelo Hama