Hi, I'm trying archeive when selecting a value from a dropdown (currencies), i want selected currency rate to shown underneath. Please check this site: https://xchangepro.webonmaster.com/
there you can see what im trying to do? please guide me or help me how can i do that? @Teodor
I suppose you have the currencies info coming from a datasource (serverconnect query) .
You need the select options values to be filled with the query's currenies values and when you select from the dropdown, to have the selected currency rate shown in an input element (or whatever else you want)
Right?
On your select options give the value of the rates from your query.
On your input field set a dmx-bind:value = select. value
I tried like this shown on the screenshot, but did not worked.
currencies has currency code and name and buy_rate which is binded to select option value. i want that value which is buy_rate shown on each currencies changed in dropdown, rate should show in the span element as shown in screenshot.