User Manual

Multiply

27/6/25
Multiply

The Multiply action in the Kuika platform performs multiplication of numeric values. Thanks to this action, dynamic calculations can be made within the application; for example, the total cost of a product can be obtained by multiplying the quantity of a product by the unit price, and a proportional result can be obtained by multiplying a percentage value by a number. The Multiply action works seamlessly in both web and mobile environments, and quickly finalizes calculations made in the user interface.

Technical Specifications

  • Numerical Operation: Allows multiplication of two or more numbers.
  • Dynamic Data Usage: Numeric values can be entered statically (fixed) or dynamically from form elements, screen inputs, symbol selector or action results.
  • Web & Mobile Support: The action is fully compatible on both Kuika's web and mobile apps.

Multiply Action Implementation Steps

  1. Login to the Kuika platform.
  2. Open your project and switch to the UI Design module.
  3. Add or select the component (for example a button) that will trigger the calculation.
  4. Open the Properties panel on the right side.
  1. Select the button and add the Arithmetic >Multiply action according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.) from the + ADD ACTION menu.
  2. Define action parameters:

Configure Action Parameters

  • Value ( Number - mandatory):
  • The first numeric value to be multiplied.
    • Data can be imported into this field primarily from data sources such as Action Result. Other sources such as Method Input, Current, Screen Input, Fixed or Component can also be used. These categories can be defined by selecting them via Symbol Picker.
  • Value2 ( Number - mandatory):
  • Specifies the second numeric value to multiply.
    • Data can be imported into this field primarily from data sources such as Action Result. Other sources such as Method Input, Current, Screen Input, Fixed or Component can also be used. These categories can be defined by selecting them via Symbol Picker .

Usage Scenario: Automatic Total Amount Display with Price Calculation

In an e-commerce application, when the user enters quantity and unit price information on a product page, the system automatically calculates the total price and displays it to the user. This can be done by the user clicking a button after filling out the form or by an action triggered when the field changes.

Steps to Add Total Price Calculation Action

  1. Enter the UI Design module and select a Button element from the Elements panel on the left side.
  2. Add a field (for example a Label or other Text Input) where you will display the total amount.
  1. Select the element that will start the calculation and open the +ADD ACTION menu from the Properties panel.
  2. Select the OnClick → Arithmetic → Multiply action.

Configure Multiply Action

  • Value: Symbol Picker > Components > Number Input
  • Value2: Symbol Picker > Components > Number Input

Result Usage (Optional)

  • By adding a Set Value action immediately after the Multiply action, you can print the total amount calculated in a field.
    • Set Value → Target: totalPrice field
    • Value Result of Multiply action

With this configuration, when the user enters the product quantity and unit price and then clicks the “Calculate” button or when the fields change, the total amount is automatically calculated and displayed. Thus, the user can instantly see the cost of their purchases.

Multiply Action Advanced Customizations

  • Multiple Multipliers: If necessary, several Multiply actions can be chained together to obtain the product of multiple values.
  • Using the Result of an Action: The multiplication result can be given as input to another action. For example, you can write the Multiply result to the value of a field with a Set Value action.
  • Conditional Calculations: Multiply action can be run together with control actions such as If, Switch, Compare to create more complex calculation scenarios.

Technical Risks and Controls

  • Empty Value Check: If Value or Value2 fields are empty, an error may be received, so a preliminary check is recommended.
  • Multiplication by Zero: When the Value2 field is zero, the multiplication result will always be zero, which may be undesirable in some scenarios.
  • Type Mismatch: Entering non-numeric values may result in an error, form validation is recommended.

Multiply action facilitates in-application operations by making fast and accurate calculations with the data received from the user in Kuika applications and makes data management based on calculations effective.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar