Adding clicks with variables

Oct 16, 2015

I have an interaction where the user rate a status between 0-4.  I need all scores to add when they are complete.  I cannot get any of my numbers to add.  I am sure I did not do my variables correctly.  Thanks for any help.

7 Replies
Sharrilyn Schultz

Thank you Michael.  The text entry box is where I want the total of the values to appear.  I could not view that when I sent the file on Friday.  I also want to subtract the value if they deselect the same box.  If I create a trigger that the variable subtracts (value) when users clicks with a condition that the box state was selected will that work?  And do I place that trigger before the add trigger?

Thank you so much.

Sharrilyn Schultz

Thank you Michael.  The text entry box is where I want the total of the values to appear.  I could not view that when I sent the file on Friday.  I also want to subtract the value if they deselect the same box.  If I create a trigger that the variable subtracts (value) when users clicks with a condition that the box state was selected will that work?  And do I place that trigger before the add trigger?

Thank you so much

Sharrilyn Schultz

Thank you everyone.  Here is what I was missing and some changes.

I created only 2 variables  Add and Patient total

I then created triggers to add the value for the value of each box with the condition those boxes were a state of selected when the "submit" button was clicked and also added a variable to add the "ADD to Patient total when Submit was clicked.

What I missing was in my reference box adding all of the %variablenames%  I only had the %totalpatient& in my reference box.  I have it working and really appreciate all of the input.

Sharrilyn

This discussion is closed. You can start a new discussion or contact Articulate Support.