Multiplying two input fields

pvalleley3585
Community Member Posts: 17
I've been trying for ages to simply multiply two input fields - thought it would be simple (but not for me it seems)!
I've tried following two sets of instructions found on your site (below) and still not managed this.
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">1. add input field A (variable A)</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">2. add input field B (variable
</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">3. add text field named “Result-Text”</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">4. add variable named “Result”</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">5. add button called “Plus” with two actions:</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">5.1. set variable “Result” to VAR(A) + VAR(B)</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">5.2. change content of “Result-Text” to variable “Result”</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">6. repeat step 5 for subtraction, division, multiplication or any other math action
</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 16px;">1.</span>
On: Click
Action: Modify variable
Target: results
Type: Set equal to
Value: VAR(Entry_0001) (Insert the correct name of the variable associated with the first entry field)
I've tried following two sets of instructions found on your site (below) and still not managed this.
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">1. add input field A (variable A)</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">2. add input field B (variable

<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">3. add text field named “Result-Text”</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">4. add variable named “Result”</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">5. add button called “Plus” with two actions:</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">5.1. set variable “Result” to VAR(A) + VAR(B)</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">5.2. change content of “Result-Text” to variable “Result”</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">6. repeat step 5 for subtraction, division, multiplication or any other math action
</span>
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 16px;">1.</span>
On: Click
Action: Modify variable
Target: results
Type: Set equal to
Value: VAR(Entry_0001) (Insert the correct name of the variable associated with the first entry field)
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 16px;">2.</span>
On: Click
Action: Modify variable
Target: results
Type: Multiply Variable by
Value: VAR(Entry_0002)
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 16px;">3.</span>
On: Click
Action: Change contents
Target: Results Tex Block
Value: results
<span style="color: #000000; font-family: 'Arial',sans-serif; font-size: 12pt;">Can any spell this out in very simple steps it's beginning to drive me mad.
Thanks
Pip
</span>
Comments
-
Attached is a one page title that shows how to multiple values from two entry fields.
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products