Home PageLive ChartsLive PricesMulti Currency InputLicensingContact Us

Free Gold Charts

Multi Currency Input

Custom INPUT form element

The multi currency input is an input box which allows dynamic changing of the display currency updating with current foreign exchange rates.

Syntax

Include our Multi Currency Input box in your web form by simply setting the REL attribute to equal "currency".

Example

Create an input element with the default value of THB 2500 with the client side conversion option enabled.

<INPUT NAME="price" REL="currency" VALUE=2500 CURRENCY="THB" CANCONVERT="on" />

Then to activate the tag, link our zoom script by adding the following code between your HEAD tags.

<SCRIPT TYPE="text/javascript" SRC="https://freegoldcharts.com/mci.js"></SCRIPT>

The form submits the currency under the http argument of <name>-curr so in this case it's submitted under price-curr.