Can I restrict a text field to not allow commas?

  • Profile Image
    glumber
    Asked on August 21, 2015 at 04:10 PM

    Hello. I have a Company Name text field and don't want to allow a visitor to use a comma (,) as part of the naming. Is there a way to do this? Thanks.

  • Profile Image
    Mike
    Answered on August 21, 2015 at 06:15 PM

    Thank you for contacting us.

    We cannot block specific symbols, but we do provide some validation options. For example, you can try an AlphaNumeric validation.

    The validations seem to be not working properly on your embedded form due to jQuery and Prototype JS conflict. Please try adding the next jQuery noConflict script as shown on the following screenshot.

    <script type="text/javascript">
    jQuery.noConflict();
    </script>

    If you need any further assistance, please let us know.

  • Profile Image
    glumber
    Answered on August 21, 2015 at 08:02 PM

    That fixed it! Thanks so much.

  • Profile Image
    Boris
    Answered on August 21, 2015 at 11:51 PM

    On behalf of my colleague, you are quite welcome. We are glad to hear that the issue is resolved.

    Please don't hesitate to contact us again if you need any other assistance with your forms, and we will be happy to assist you.