Are you going to include the possibility of using regular expressions?

  • Alsatrus65
    Asked on November 5, 2019 at 12:56 AM

    It would be great to have the possibility of including regular expressions through the form builder.

  • Jed_C
    Replied on November 5, 2019 at 1:39 AM

    Would you mind clarifying on what you mean by "regular expressions"?

    Is it on conditional ruling?

    Are you referring to widgets?

    Or possible a math function?

    Kindly provide us with some information so we can see if it's possible or possibly send this to our L2 team as a request.

    Looking forward for your response. 

  • Alsatrus65
    Replied on November 5, 2019 at 7:18 AM

    Hi Jed,

    In spain we need a certain format for the ID number called NIF/CIF.

    The regular expression we need for that format is : ([a-z]|[A-Z]|[0-9])[0-9]{7}([a-z]|[A-Z]|[0-9])

    Let me know your thoughts. Best regards.

  • John Support Team Lead
    Replied on November 5, 2019 at 8:56 AM

    If you mean you would like the user's input to follow the NIF/CIF format, I beleive this can be done using the INPUT MASK feature of SHORT TEXT ENTRY field.

    I have searched for a sample format of a NIF/CIF number and I can see that it looks like this: ESX9999999R

    format: 'ES'+8 digits+letter

    Here's a guide on how it can be done in the form:

    Are you going to include the possibility of using regular expressions? Image 10

    Here's a demo form:

    https://form.jotform.com/93083947984980

    However, if you're referring to a different usage/transaction, please provide further details about it so we could check.



  • Alsatrus65
    Replied on November 5, 2019 at 4:34 PM

    Hi John,

    Thank you for the demo. However we have the following possibilities:

    NIF : 8 numbers + letter

    CIF : letter + 8 numbers

    NIE : Letter + 8 numbers

    ES is added to all of them

    Let me know your thoughts. Best regards.

  • John Support Team Lead
    Replied on November 5, 2019 at 4:42 PM

    You can set the INPUT MASK depending on the necessary format. Here are the possible settings based on the formats you provided:

    NIF : 8 numbers + letter = ES########@

    CIF : letter + 8 numbers = ES@########

    NIE : Letter + 8 numbers = ES@########

    GUIDEGetting-Started-with-the-Basics-of-Input-Masking 

  • Alsatrus65
    Replied on November 5, 2019 at 4:54 PM

    Great , thank you for your help.