How to add field validation?

  • MiamiValleyMarketing
    Asked on June 2, 2014 at 1: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

  • Elton Support Team Lead
    Replied on June 2, 2014 at 3: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.

    How to add field validation? Image 1 Screenshot 20

    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!

  • MiamiValleyMarketing
    Replied on June 3, 2014 at 4: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
    ...
  • MiamiValleyMarketing
    Replied on June 3, 2014 at 4: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
    ...