πŸ’± Automate Currency Conversion in Joget Using JavaScript and External API
dev.toΒ·1dΒ·
Discuss: DEV
Flag this post

🧩 Overview

In many Joget applications, users enter transaction amounts in different currencies. To maintain financial consistency, it’s crucial to automatically convert these values into a standard base currency (like AED or USD).

This guide shows how to automate currency conversion inside a Joget form using JavaScript, Fetch API, and jQuery Autocomplete β€” all without writing any backend plugin code.


βš™οΈ How It Works

βœ… On form load:

  • The script sets the AED amount field to zero.
  • Fetches live currency symbols from a safe exchange rate API.
  • Activates autocomplete on the currency input field.

βš™οΈ Whenever a user changes:

  • The currency,
  • The amount, or
  • The product name,

the script recalculates the AED value dynamically and updates the related fie…

Similar Posts

Loading similar posts...