Calculated Fields Form
[resolved] Currency conversion (2 posts)

  1. spinaker
    Posted 3 years ago #

    Hi guys,
    I'm working on a form that is calculating the total price for selected services and it is in Libyan Dinars. I need to convert it to USD. So I'm using open exchange rate api(https://openexchangerates.org/). There is the jquery function that fetches the rate and converts into usd:

    url: 'http://openexchangerates.org/latest.json? app_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    dataType: 'jsonp',
    success: function(json) {
    lyd = json.rates.LYD;
    return fieldname37 / lyd;

    It is working properly in a stand alone page but I can't make it work with the plugin. I've included the jquery library in the header.php file. (<?php wp_enqueue_script("jquery"); ?>)
    I'll appreciate any help.

  2. codepeople
    Plugin Author

    Posted 3 years ago #


    This type of support will be addressed through our support system. Please follow the link below:


    Best regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Calculated Fields Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.