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.
Number field does not accept decimals in ChromeAsked by Phil on January 13, 2014 at 10:06 AM
The number field does not accept decimals in Google chrome. Input is allowed, but when the user submits the form, they get an error message and are instructed to enter a valid number (whole numers only). Decimals are accepted on the same form in Firefox. Is there a way to make the number field fully functional in Chrome? I have seem this problem addressed in other posts, but the response seems to be to switch it to a text field which is not a great option for a form that is already collecting responses as deleting the number field and replacing with a text field would create inconsistencies in the associated database.
Alternatively, can a number field be switch to a text field without deleting it and creating a new field?
text field problem message create
Actually, Firefox is handling the input incorrectly and Chrome is adhering to the standards specified by W3C (the World Wide Web Consortium). Unfortunately, in the form builder a field type cannot be switched without deleting the current field and replacing it with a new one.
The only workaround I can think of would be to substitute the form's full source for its default embed code and then manually change the tag of the GPA field. Change the tag as shown here. The result should be like the clone in this page. (You'll see the change in the source on line 555 with the original tag commented out on the previous line.)
Would this work for you?
Actually, now that I've perused the article to which I referred, it looks like you may only need to include a step attribute (step="any") in the original tag. I'll have to test that though. If that is indeed the case, perhaps we can include that option in the preferences for number fields. That would certainly be much more user friendly than having to use the form's full source code.
You know what? Without altering the tag, in the latest release of Chrome (Version 32.0.1700.72 m) I'm able to submit the form after entering any floating point number in the number field. Of course, we would still need to accommodate your users. So that may just be academic.
It would still be nice to have Step added to number field preferences in the form builder though.
Not really. I use the same form for multiple applications and don't want
to alter the source code in each page every time there is a minor revision-
the embed option is much more convenient. I guess we will just have to
manually alter the submissions in our database
As over all feedback on the form builder- allowing a more robust number
field (i.e. accepting decimals) would be far more useful and intuitive than
requiring use of a text field to collect numerical input
Thanks for the response
Thanks for continuing to look into the issue
On Mon, Jan 13, 2014 at 10:04 AM, JotForm Support Forum <