Half-width and full-width fields can't be entered on number fields.

  • mtamehiro
    Asked on September 18, 2024 at 10:28 PM

    When I enter a full-width number in a numeric field and press enter, the field becomes blank and cannot be filled in, but if I move on to the next field without pressing enter, the field is filled in as a full-width number.

    (Basically, numeric fields can only be entered as half-width numbers, right?)


    If I enter a survey with double-byte numbers and submit it, the field information will be blank in the inbox.


    Is there any way to resolve this?


  • Silvano JotForm Support
    Replied on September 19, 2024 at 8:52 AM

    Hi mtamehiro,

    Thanks for reaching out to Jotform Support. I cloned and tested your form and was able to replicate the issue along with a newly created test form. However, I believe this is how the system works for the number field as half-width and full-width characters are read by the system as a Special Character and not a number. I suggest, using the Short Text Field instead of the number field as this accepts Alphanumeric characters and special characters. You can hide the number fields to avoid losing your previous submission data then add the Short Text Field. It's easy, let me show you how:

    1. In Form Builder, click on the Number Field and click the Gear Icon.
    2. Now, in the right panel go to Advanced Tab and switch on Hide Field.
    3. Next, click on Add Form Element + and select and drag the Short Text Field to your form.
    4. Finally, set up the Short Text Field, according to your requirement.
      Half width and full width fields cant be entered on number fields Screenshot 20

    That's it. Give it a try and let us know if you have any other questions.

  • mtamehiro
    Replied on September 19, 2024 at 8:36 PM

    Thank you for your reply.

    I am importing data into Salesforce, but the import is designed to accept only half-width numbers, so I want to make it so that only half-width numbers can be entered.

    I think it is unlikely that someone will answer without pressing enter, so if it is difficult to allow only half-width characters to be entered, I would like to use a numeric field.

  • Waqas JotForm Support
    Replied on September 19, 2024 at 9:38 PM

    Hi mtamehiro,

    You can mark your fields as required, so submitters will not be able to skip them. If many fields on your form are Unrequired, it means that anyone can submit the form without filling them out. To prevent these empty submissions, you can set all fields to Required in just two simple steps:

    1. Open your form in Form Builder and select all form fields using CMD + A (on Mac) or CTRL + A (on Windows).
    2. In the orange navigation bar at the top of the page, just click on Require, and you're done.

    Half width and full width fields cant be entered on number fields Screenshot 30 That's it. Now, anyone filling out your form must complete all fields before submitting the form:

    Half width and full width fields cant be entered on number fields Screenshot 41 Give it a try and let us know how it goes.

  • mtamehiro
    Replied on September 20, 2024 at 12:28 AM

    Hi Waquas

    Thank you for your reply.

    Though, the solution that you suggested to me is not what I wanted to do, actually.

    As I said, if possible, I want to limit the numbers entered only to "Half Width" characters. The problem is that if the number is entered in "Full Width" character, it would not correctly export the number to the salesforce.

    I want to use number field in jotform as well, since the data type of the Salesforce item that captures the data is “numeric”.

  • Waqas JotForm Support
    Replied on September 20, 2024 at 1:11 AM

    Hi mtamehiro,

    I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.


  • Waqas JotForm Support
    Replied on September 20, 2024 at 5:53 AM

    Hi mtamehiro,

    You can try to use the Short Text field suggested by colleague Silvano, set the Validation to only accept numeric, and then pass the data to the original number field using condition. This way, you can still use the original number field for Salesforce integration.

    Give it a try and reach out again if you have any other questions.

Your Answer