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

    How to add field validation?

    Asked by MiamiValleyMarketing on June 02, 2014 at 01:59 PM

    I have a simple form here - http://carolinaparksandplay.com/inforequestnew.php

     

    How can I enable validation on the name fiels to not accept digits or punctuation?

     

    And on the phone number field, have only numbers?

     

    Thanks,

    Bill

    Page URL:
    http://carolinaparksandplay.com/inforequestnew.php

    name phone number thanks and
  • Profile Image
    JotForm Support

    Answered by EltonCris on June 02, 2014 at 03:15 PM

    Hi Bill,

    You can do all that in the form builder. Just add a text box field to your form and set its validation. You can also do input masking for a preferred format.

    Please make sure to update the embedded code on your page after that since I can see that you're using a form source code.

    Regards!

  • Profile Image

    Answered by MiamiValleyMarketing on June 03, 2014 at 04:21 PM
    Thanks. I changed the form to the embed code, as opposed to the source,
    and that looks like it fixed the email and phone field. The name field
    however, I cannot get to any validation options in the editor, and a user
    can still put numbers and punctuation there.
    Bill
    ...
  • Profile Image

    Answered by MiamiValleyMarketing on June 03, 2014 at 04:21 PM
    Sorry, I misunderstood the text box part. I changed it from a name field
    to text box, and now see the validation options.
    Thanks!
    Bill
    ...