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.


  • Profile Image

    Is there a way add "%" suffix to a number entered into a form field?

    Asked by mvpphan on January 20, 2017 at 01:46 PM

    Is there a way add "%" suffix to a number entered into a form field?

    For example, if someone enters "100", it automatically shows "100%" in the field.

     

     

    Page URL:
    https://form.jotform.com/70121691738153

  • Profile Image
    JotForm Support

    Answered by Jim_R on January 20, 2017 at 03:27 PM

    I'm afraid there's no way to achieve that with our Form Builder. To start with, your textboxes were setup to only accept NUMBERS so having a % sign at the end of it, automatically appended as soon as the field is changed, will cause validation errors.

    Would it help if you'd just approach this differently? For example, append (in %) on all your labels, like so:

    The only other workaround would require programming knowledge with Javascript so it's best to consult this with your designer/developer first. What they'd do is grab the Full Source Code of your form, embed it on a page, then create the logic to append the % symbol at the end of the Textbox using the onchange event. Keep in mind that you'd need to remove your restriction to NUMERIC Fields alone so it would accept the % symbol as well.