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

  • Profile Image
    Alsatrus65
    Asked on November 05, 2019 at 12:56 AM

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

  • Profile Image
    Jed_C
    Answered on November 05, 2019 at 01: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. 

  • Profile Image
    Alsatrus65
    Answered on November 05, 2019 at 07: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.

  • Profile Image
    JohnRex
    Answered on November 05, 2019 at 08: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:

    15729621082027573.png

    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.



  • Profile Image
    Alsatrus65
    Answered on November 05, 2019 at 04: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.

  • Profile Image
    JohnRex
    Answered on November 05, 2019 at 04: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 

  • Profile Image
    Alsatrus65
    Answered on November 05, 2019 at 04:54 PM

    Great , thank you for your help.