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

    Can I write my own validation code?

    Asked by UDW_Communications on September 29, 2011 at 11:05 PM

    Using a text box for phone numbers and restricting to "number" and "size" still doesn't do a good enough job of validation because people can enter too few characters etc.  Is there any way to inject my own validation code?

    PS Thank you to the community here for answereing my questions everyone has been real helpful.

  • Profile Image

    Answered by brx250 on September 30, 2011 at 04:10 AM

    Hi UDW_Communications,

    Yes, you can do that by obtaining the form's full source code first. To do that:

    1. Go to your form under JotForm's "Form Builder".

    2. Click on "Embed Form" under the "Setup & Embed" tab.

    3. Select "Source Code" from the list.

    4. Click the link "here" to download a copy of the form's .css and .js files.

    6. You can then open and edit the form's source code through any text editor application or IDE such as Dreamweaver and Notepad++. 

    Thank you. Hope you enjoy using using JotForm.



    Albert | JotForm Support