Can I bring data into my form via shortcode to use in calculations?

I have an api with financial data (currency, metal prices, etc.) that I would like to use for calculations. I can make the data display in the form using a shortcode in the html field, but I can’t use the results for the calculations. Is there a way to use shortcodes in a number field, or is there another way to get the data into the form (even in a hidden field is fine)?

For instance, at https://www.pmcalc.com/sample-page/, I would like to use the displayed gold price to complete calculations for the “Price 10k” field.

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.