# Help Please - I need assistance with an interaction I'd like to build

I'm attempting to build in interaction and I'm not sure of the best approach.

The user has 18 sets of questions. On each set (A or B) the use enters a number from 1 to 3 between the two questions.

Example:

set #1 A=2, B=1
set #2 A=0, B=3
set #3 A=1, B=2
I need the numbers to distribute across four columns, then total each column.

Example:

Column O accumulates the numeric entries from 1A, 3B, 5A, 7B and so on
Column C holds the numeric entries of 1B, 3A, 5B and so on
Column D accumulates the numeric entries from 2B, 4A, 6B etc.
Column I accumulates the numeric entries of 2A, 4B, 6,B etc.

I thought I should have a text entry next to each questions, but I'm not sure how to get the numeric entry to each question to accumulate into a specified column. Any ideas or suggestions on a different approach?

###### 14 Replies

Hi Karel,

Sounds like an interesting set up! It might help us out if you could share your .story file so we can have a better understanding what you're trying to build.

Hello Karel. Let me rephrase to see if I understand what it is you are trying to do:

1. You have 18 sets of questions, displayed in four columns.

2. Users must enter a value from 1 to 3 in each of the questions (is this a survey?)

2. You want the results of those 18 questions to be tabulated at the end

Does that sound right?

Hi David, pretty much, except I have each set of questions on a layer (18 layers). I what the answer the user enters to fall into a specific column on a 'Results' layer or slide, then total each column.

Hi Katie I'd be happy to upload .story file. I'll do it once I get home. I haven't built the columns yet because I didn't want to put the time into that if what I'm trying to do is not possible, or there is a better way. However, I do have an example I can upload along with my .story file to show what I'm trying to do.

I look forward to any help either of you can offer.

Yes Karel, I think I would need to look at the .story file at this point as well. Can you just add it as an attachment to your reply?

Hi Katie,

I'm attaching the question slide and a mock up of the result slide explaining what I'm trying to do.  If you think I should try a different approach, please let me know. I'm open to suggestions.

Katie, David here is the .story file.

Thanks you guys.

Hi David,

Here is a mock up of how I want to build the results layer. I attached the .story for both you and Katie.

Thanks for taking the time to look at it.

I just had a look at both your files. It is really difficult to understand the activity. Karel, I think I would take a different approach. I think you are putting a personality test together, and after the user completes the test, you want to display their results at the end? If this is a correct assumption, then I think I would go with a more linear approach, such as asking them the first of the questions in series and then direct them to the next question based on what they answered. This is easy to do in Storyline using branching feedback options. To do this with your activity, you may need to word your questions a bit differently so that they are more direct and provide users with set answer options. Here is an example of what I think might work better:

Intro Slide -

Example text: We have prepared a fun quiz that you can take to get a better understanding of your personality type consisting of 18 questions. Answer each question by selecting the number that you think most represents you, with one representing the closest match to you.

Question 1 -

I'm usually open to getting to know people personally and establishing relationships with them

1

2

3

...and so on..

You can then branch them down a path based upon the answers they select. This should work well, but it will mean that  you will have to rethink your approach to the activity a bit.

Thank you David,

You are correct, it is a personality quiz I'm putting together. I was really hoping to allow the user to see the totals of all four columns and draw a conclusion of their personality style.It sounds like that may be a too difficult to do.

Thanks for taking the time to review my .story.

Ok, I think I see what you are trying to do. Can you take the approach I outlined above, but instead of branching paths, just use number variables to keep track of the answers and display them on the results slide? This way you will only present one question at a time.

Looking through the example you posted, all of your questions are already structured linearly. Just split them all up into separate question slides and add a results slide at the end.

There are a few ways to do this. Let's take your first approach of creating ranges of values to be displayed at the end. First, create numeric entry fields for each of the number entry points, then create an overarching number variable to feed the individual numbers into and perform your operations from there...

Numeric Entry Field --> NumericEntry(1..2..x) and so on. Then create the master variable and call it SumTotal, or something like that. Then on the results slide you will setup your overarching results as follows:

SumTotal=NumericEntry+NumericEntry1+... and so on.

To display these values, just use Reference entries in a text box.

This should accomplish exactly what you are trying to do. See slide 2 of the attachment.

In your case, you will just create several master number variables to keep track of the branching paths (A, B, C,.. etc).

Hi David,

That is it! Sorry I wasn't clear. That is exactly what I'm trying to do,

I can spilt the questions, one slide per question, instead of sets of questions on separate layers. I was probably making things too complicated anyway.

What I'm not sure how to do is the number variables to keep track of the answers and display them on the results slide. However, I'm sure there is a tutorial out there to assist.

Thank you so much!

Take a look at slide 2 of the .story file I attached to my last reply. The trigger for it is on that slide. Just follow that example and it should work fine. Give it a try and let us know how it worked out. If you need some additional help, post the .story file and well have another look.

Hi David,

Sorry for the delay in responding to your suggestions. Thank you so much.

I figured out a way to keep the sets of questions together and have the responses display on a separate slide by using a numeric variable.

I removed the sets of questions from the layers and gave each set it's own slide, then added a numeric variable to each question. The entries successfully display on the designated slide.

The 'Totaling' example you provided is along the lines of what I'm trying to do, except I'd like for the users to only see the final total, not x+x+x=.

I posted to the community asking if there is a way to total several numeric variables behind the scenes and only have the final total display.

I've attached to .story.  Ignore the 1st and last slide, I'm coming back to them after the hard stuff is figured out.