How to pass dollar total as URL parameter to external form?

On my form, I have a total field
Example:

Total
$6,150.00

I need to know how I can pass that total (6150.00) to a url using a “Pay Now” button on the form
Example:
https://zombo.com/secure/?amount=6150.00

Simply passing {total} outputs “?amount=%246%2C150.00&…” instead of just amount=6150.00 and is unrecognized as a currency or even a number on receiving form field.

Another post from 2 years ago suggested copying total to a number field, hiding it, then passing that value in URL parameter. This copies total as 6,150 removing dollar sign but not comma.

What am I missing?

You can use the :numeric modifier on the merge tag you use in the confirmation query string. If your value $6,150.00 comes from field 24, this is the merge tag you can use in the query string:

{Field 24:numeric}

Documentation:

:numeric
Converts the number string or currency value as a decimal-formatted number.
{Field:5:numeric}

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