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

    Intégration de contrôle de la saisie

    Asked by cris74 on August 08, 2016 at 08:16 AM

    Pourriez-vous envisager d'intégrer un contrôle de conformité d'un champ saisi, un peu plus éléboré qu'actuellement (Exemple : contrôle d'une lettre clé, validant la saisi d'un identifiant / clé)  ?

    Page URL:
    http://www.golf-coders74.org/

  • Profile Image
    JotForm Support

    Answered by Kevin_G on August 08, 2016 at 09:14 AM

    Unfortunately, I could not fully understand your question, it seems to be related to fields validation, but I cannot understand with this: 

    "Would you consider including a compliance check before a field, it elaborates a bit more than at present "

    Could you please provide us more details about your question?

     

  • Profile Image

    Answered by cris74 on August 08, 2016 at 10:06 AM

    Je prend un exemple : nous avons un numéro d'identifiant composé de 7 chiffres et d'une lettre.
    Un algorithme de calcul de la lettre est fait à partir des 7 chiffres, si le résultat de l'algorithme est identique à la lettre saisie sur le formulaire, l'identifiant est valide, sinon il faut afficher un message d'erreur.
    Comment inclure à la saisie du formulaire cet algorithme ?
    Car les contrôles de conformité que vous proposez ne sont pas assez élaborés pour faire ce genre de contrôle.

  • Profile Image
    JotForm Support

    Answered by Welvin on August 08, 2016 at 10:44 AM

    You can take advantage of our conditional logic feature, the show/hide field to be specific.

    https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer 

    Here's a test form https://form.jotform.com/62203866321955.

    Here's my form structure: 

    The message is using our Text field under Basic Fields section. 

     

    Here are the conditions:

  • Profile Image

    Answered by cris74 on August 08, 2016 at 10:45 AM
    ​​
    Je prend un exemple : nous avons un numéro d'identifiant composé de 7
    chiffres et d'une lettre.
    Un algorithme de calcul de la lettre est fait à partir des 7 chiffres, si
    le résultat de l'algorithme est identique à la lettre saisie sur le
    formulaire, l'identifiant est valide, sinon il faut afficher un message
    d'erreur.
    Comment inclure à la saisie du formulaire cet algorithme ?
    Car les contrôles de conformité que vous proposez ne sont pas assez
    élaborés pour faire ce genre de contrôle.
    2016-08-08 15:14 GMT+02:00 JotForm :
    ...
  • Profile Image
    JotForm Support

    Answered by Welvin on August 08, 2016 at 10:59 AM

    I'm sorry, just so you know that I'm using Google Translate to understand your requirements. 

    How about this form https://form.jotform.com/62204400152942? Enter any of the following characters: 

    1 or 2 or 3

    A or B or C or D

    As you could see, I utilized the CONTAINS and DOES NOT CONTAIN condition. 

  • Profile Image

    Answered by cris74 on August 08, 2016 at 11:00 AM

    Cela ne répond pas au problème.

    Vous n'avez utilisé aucun algorithme de calcul.

    Voila mon algorithme, comment puis-je l'intégrer dans les contrôles du formulaire au moment de la saisie (et non après la saisie) :

    Function Lettre_FFRS(Num As Double) As String
    Dim Reste As Integer

    Reste = Num Mod 23
    Reste = Reste + 1
    ' les lettres i, o, q sont omises
    Select Case Reste
        Case 23
            Lettre_FFRS = "Z"
        Case 22
            Lettre_FFRS = "Y"
        Case 21
            Lettre_FFRS = "X"
        Case 20
            Lettre_FFRS = "W"
        Case 19
            Lettre_FFRS = "V"
        Case 18
            Lettre_FFRS = "T"
        Case 17
            Lettre_FFRS = "S"
        Case 16
            Lettre_FFRS = "R"
        Case 15
            Lettre_FFRS = "Q"
        Case 14
            Lettre_FFRS = "P"
        Case 13
            Lettre_FFRS = "N"
        Case 12
            Lettre_FFRS = "M"
        Case 11
            Lettre_FFRS = "L"
        Case 10
            Lettre_FFRS = "K"
        Case 9
            Lettre_FFRS = "J"
        Case 8
            Lettre_FFRS = "H"
        Case 7
            Lettre_FFRS = "G"
        Case 6
            Lettre_FFRS = "F"
        Case 5
            Lettre_FFRS = "E"
        Case 4
            Lettre_FFRS = "D"
        Case 3
            Lettre_FFRS = "C"
        Case 2
            Lettre_FFRS = "B"
        Case 1
            Lettre_FFRS = "A"
    End Select
    End Function

  • Profile Image
    JotForm Support

    Answered by Welvin on August 08, 2016 at 11:24 AM

    I'm sorry, but I don't think we support it at all. In this case, I would suggest creating your form with the textbox in it. Get the form source codes after and add that custom function in the source before embedding it to your website.

    Here's how you can get the form source codes:

    https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form