Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ?

  • maisonbastien
    Demandé le 16 juillet 2024 à 12:23

    Bonjour


    J'aimerais qu'un choix soit sélectionné automatiquement lorsque qu'un code est saisie dans une zone de texte court.

    Est ce possible ?

  • Abdul Jotform Support
    Répondu le 16 juillet 2024 à 14:39

    Hi Maison,

    Thanks for reaching out to Jotform Support. Our French support is unavailable at the moment. In the meantime, we will reply in English; please let us know if you prefer to talk to someone in the French language.

    Now, let me help you with your question. You can create a form condition to select a specific answer if the user adds any codes to a short text field. Let's see how it is done:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. Click on Conditions on the left of the page.
    3. Now, click on Add a New Condition, and then click on UPDATE/CALCULATE FIELD
    4. Set the below condition.Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ? Image 1 Screenshot 30
    5. Click Save.

    That's it. Check out the screencast below to see how it works.

    Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ? Image 2 Screenshot 41

    In the above example, I just copied the single-choice value and pasted it into the Do Calculate Field Value section. You can find my demo form here or clone it to discover more. For more information, you can follow our support guide on How to Clone an Existing Form From a URL

    Give it a try, and let us know if you have any questions.

  • maisonbastien
    Répondu le 16 juillet 2024 à 15:20

    je ne parvient pas a programmer cela, voici la liste des option que j'ai, comment programmer cela ?


    Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ? Image 1 Screenshot 20

  • Abdul Jotform Support
    Répondu le 16 juillet 2024 à 15:32

    Hi Maison,

    Thanks for getting back to us. I checked your form and found that you did not add the correct value:

    Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ? Image 1 Screenshot 40

    This value doesn't exist in the single-choice field. Instead of this value, please add any one of those values Valery, Claire, or Bastien as you want.

    Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ? Image 2 Screenshot 51

    Like that:

    Comment sélectionner automatiquement une valeur à choix unique si un utilisateur saisit une autre valeur dans le champ de texte court ? Image 3 Screenshot 62

    Give it a try, and let us know if you have any questions.

Votre réponse