How to add field validation?

  • Profile Image
    MiamiValleyMarketing
    Asked 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

  • Profile Image
    EltonCris
    Answered 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
    MiamiValleyMarketing
    Answered 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
    MiamiValleyMarketing
    Answered 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
    ...