What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Thank you for contacting us.
Use a textbox field and you can set the default value to currency sign then make the field to validate as Numeric. Please see the below image and see if this helps you.
Forgot to add about the decimal places. If you want both currency and decimal places to be added to the field disregard the default mask and use the input mask instead.
Since you are validating a number use ### as your input mask. You can also format it to add decimals like this ###.## and to add currency just add it at the beginning of the input mask like this $ ###.##
Here's a sample:
and here's what it should looks like:
I really wished this worked. Unfortunately, when you enter the $ in the input mask it doesn't validate because all values have to numeric.
We currently do not have a direct feature that would accomplish this aside from using the Textbox field and manually putting the dollar sign as the default value, example:
Let me forward this thread to our developers as a feature request. Maybe, a widget that would allow us to configure a default currency with the ability to input an amount. We'll update you here once this is implemented.
Please can I ask how this works? It seems to allow more than 2 decimal places, and doesn't seem to allow either £ nor $ prefix in the input mask.
I checked this further and it seems to be based on the field being set entirely to " Currency Validation " since this would only accept values based on known currencies. The currency validation is only recognizing that there is a currency being used of some sort so it allows that as long as it's a valid value and not some off the wall number that couldn't exist with a currency. The masking you can add in to limit this furthermore so that only certain amounts are accepted if you want.
Was this still not working on your end? Can you please try again?
Please see my test form: http://form.jotform.us/form/41453417692154
And here are some random tests I did with US Dollars and Euros: