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

    Custom Validation for use with Regex Commands

    Asked by glue on March 16, 2015 at 09:59 AM

    Hello,

    Currently, we have a system where certain special characters are allowed in our program, but others aren't. Essentially, our program filters out any characters that aren't picked up by the Regex command: a-zA-ZæøåäöÆØÅÄÖ0-_9\s\.\/@!,:'#

    The problem is that the Jotforms fields don't allow validation on this level. So either we have to download the Jotforms javascript file to our server, and hand edit it to include such validation, or we have to use no validation on the form, and then have the customer be surprised when characters they entered into the form do not appear on the final product.

    The most ideal solution would be to enter a custom Regex field to validate the form for us. It would give full control using a very established technology, and easier to keep in sync with our program.

    Regards,

    Feature Request regex problem product validate special characters
  • Profile Image
    JotForm Support

    Answered by KadeJM on March 16, 2015 at 11:19 AM

    At the moment the only way a Regex Validation Command for this can be done is via the form source code and modifying the forms js file to then embed together for usage. If needed you can refer to this thread here http://www.jotform.com/answers/158697 for a good example.

    However, Because of your request I have sent a ticket for this to our developers on your behalf. I can't make any guarantees or promises about this but they will look into it more for consideration as soon as they can about adding it and if that happens we will update you here at that point in time.

  • Profile Image

    Answered by toddraumer on June 19, 2016 at 08:13 AM

    +1