Custom Validation for use with Regex Commands

  • Profile Image
    Asked on March 16, 2015 at 09:59 AM


    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.


  • Profile Image
    Answered 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 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 on June 19, 2016 at 08:13 AM