Basically, I am building an interactive kiosk program that is intended to be used as a pitch accessory when demoing to potential clients. I am working on a screen that breaks down the fees associated with the transaction. The fees are just random numbers generated through variables.
\n
Is there a method, even if JavaScript is the method, to add up the generated numbers to show a total on the same screen?
\n
I don't even know how to go about searching for this solution lol so if there is another discussion for it, please point me in that direction.
\n
Thank you.
","body@stringLength":"633","rawBody":"Basically, I am building an interactive kiosk program that is intended to be used as a pitch accessory when demoing to potential clients. I am working on a screen that breaks down the fees associated with the transaction. The fees are just random numbers generated through variables.
\n
Is there a method, even if JavaScript is the method, to add up the generated numbers to show a total on the same screen?
\n
I don't even know how to go about searching for this solution lol so if there is another discussion for it, please point me in that direction.
\n
Thank you.
","kudosSumWeight":0,"postTime":"2024-07-02T11:46:11.000-07:00","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"tags":{"__typename":"TagConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"TagEdge","cursor":"MjQuMTF8Mi4xfG98MTB8X05WX3wx","node":{"__typename":"Tag","id":"tag:storyline 360","text":"storyline 360","time":"2014-10-09T03:01:38.000-07:00","lastActivityTime":null,"messagesCount":null,"followersCount":null}}]},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:862128_1"},"latestVersion":null,"metrics":{"__typename":"MessageMetrics","views":9},"visibilityScope":"PUBLIC","canonicalUrl":null,"seoTitle":null,"seoDescription":null,"isEscalated":null,"placeholder":false,"originalMessageForPlaceholder":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}},"archivalData":null,"searchSnippet":"...ame screen? \n I don't even know how to go about searching for this solution lol so if there is another Hi Andrew!
\n
Absolutely, this is relatively easy to do and if it's just adding a series of numbers then you don't even need javascript.
\n
Just set up a NUMBER DATA INPUT FIELD for each value you need.
\n
Then create a NEW NUMERIC VARIABLE and call it \"totalCount\".
\n
You'll use this to add up and hold the final value.
\n
Then place a TEXT REFERENCE to \"totalCount\" where ever you need it.
\n
Finally add a trigger that says:
\n
ADJUST VARIABLE. Set totalCount equal to the value of <variable1> and the value of <variable2> etc etc
\n
And that should work!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"repliesCount":0,"postTime":"2024-07-02T12:04:19.000-07:00","lastPublishTime":"2024-07-02T12:04:19.000-07:00","metrics":{"__typename":"MessageMetrics","views":1},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:connect/community:rwgqn69235board:discuss/message:862128/message:862129","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"Rank:rank:5":{"__typename":"Rank","id":"rank:5","position":4,"name":"Super Hero","color":"4E3AD5","icon":null,"rankStyle":"FILLED"},"User:user:1310407":{"__typename":"User","id":"user:1310407","uid":1310407,"login":"WaltHamilton","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2014-10-22T17:15:23.000-07:00","confirmEmailStatus":null,"registrationAccessLevel":null,"ssoRegistrationFields":[]},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://api.articulate.com/id/v1/avatars/auth0%7C6dc54a50-351a-0132-d4c1-22000b1288a9"},"rank":{"__ref":"Rank:rank:5"},"messagesCount":43,"kudosGivenCount":13,"kudosReceivedCount":679,"kudosWeight":1,"ssoId":null,"followersCount":null,"solutionsCount":0,"entityType":"USER","eventPath":"community:rwgqn69235/user:1310407"},"ModerationData:moderation_data:862130":{"__typename":"ModerationData","id":"moderation_data:862130","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:862130":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1310407"},"id":"message:862130","revisionNum":1,"uid":862130,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:discuss"},"parent":{"__ref":"ForumTopicMessage:message:862128"},"conversation":{"__ref":"Conversation:conversation:862128"},"subject":"Re: Adding Up RNG Outputs on a Slide in Storyline 360","moderationData":{"__ref":"ModerationData:moderation_data:862130"},"body":"Andrew says, \"ADJUST VARIABLE. Set totalCount equal to the value of <variable1> and the value of <variable2> etc etc\" - Note that this cannot be done all at once. each variable must be added to totalCount individually:
\n
ADJUST VARIABLE Add <variable1> to totalCount
\n
ADJUST VARIABLE Add <variable2> to totalCount, etc with a separate trigger for each variable.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"225","kudosSumWeight":0,"repliesCount":0,"postTime":"2024-07-02T17:21:32.000-07:00","lastPublishTime":"2024-07-02T17:21:32.000-07:00","metrics":{"__typename":"MessageMetrics","views":5},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:connect/community:rwgqn69235board:discuss/message:862128/message:862130","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:862131":{"__typename":"ModerationData","id":"moderation_data:862131","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:862131":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:496145"},"id":"message:862131","revisionNum":1,"uid":862131,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:discuss"},"parent":{"__ref":"ForumTopicMessage:message:862128"},"conversation":{"__ref":"Conversation:conversation:862128"},"subject":"Re: Adding Up RNG Outputs on a Slide in Storyline 360","moderationData":{"__ref":"ModerationData:moderation_data:862131"},"body":"Ah yes, good point Walt! I rushed that explanation a bit. :)
\n
Thanks!
\n
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"83","kudosSumWeight":0,"repliesCount":0,"postTime":"2024-07-02T17:25:11.000-07:00","lastPublishTime":"2024-07-02T17:25:11.000-07:00","metrics":{"__typename":"MessageMetrics","views":0},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:connect/community:rwgqn69235board:discuss/message:862128/message:862131","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:862132":{"__typename":"ModerationData","id":"moderation_data:862132","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:862132":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:543628"},"id":"message:862132","revisionNum":1,"uid":862132,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:discuss"},"parent":{"__ref":"ForumTopicMessage:message:862128"},"conversation":{"__ref":"Conversation:conversation:862128"},"subject":"Re: Adding Up RNG Outputs on a Slide in Storyline 360","moderationData":{"__ref":"ModerationData:moderation_data:862132"},"body":"Oh wow! I didn't even know there was a trigger for adding variables together! That actually makes a lot of sense given what I know about variables now. But that worked exactly the way I was looking for. Thank you and now that I know you can do some basic arithmetic with triggers, this opens up a lot more for my project!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"repliesCount":0,"postTime":"2024-07-03T11:14:29.000-07:00","lastPublishTime":"2024-07-03T11:14:29.000-07:00","metrics":{"__typename":"MessageMetrics","views":2},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:connect/community:rwgqn69235board:discuss/message:862128/message:862132","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"CachedAsset:text:en_US-components/community/NavbarDropdownToggle-1736974869000":{"__typename":"CachedAsset","id":"text:en_US-components/community/NavbarDropdownToggle-1736974869000","value":{"ariaLabelClosed":"Press the down arrow to open the menu"},"localOverride":false},"CachedAsset:text:en_US-components/messages/EscalatedMessageBanner-1736974869000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/EscalatedMessageBanner-1736974869000","value":{"escalationMessage":"Escalated to Salesforce by