Comment afficher conditionnellement les champs du formulaire lors de l'édition des soumissions ?

  • rossinelli.stephane
    Demandé le 23 octobre 2024 à 08:38

    Bonjour, j'ai un formulaire à renseigner en 3 fois.

    Je veux afficher le 1er bloc et les masquer 2 suivants, et permettre à l'utilisateur d'envoyer le formulaire

    PUIS

    Le premier réceptionnaire quand il ouvre le formulaire reçu, j'affiche le 2ème bloc et bloque la modification du 1er bloc. Pour cela j'utilise le lien URL, en testant si l'URL contient "edit".

    Le premier réceptionnaire envoie ensuite au dernier réceptionnaire.

    PUIS

    Le dernier réceptionnaire quand il ouvre le formulaire, je voudrais afficher le 3ème bloc et bloquer en modification les 2 premiers. Je n'ai aucune solution pour ça.

    Des idées ou de récentes fonctionnalités.

    Bien cordialement

  • Joseph Christian Jotform Support
    Répondu le 23 octobre 2024 à 11:35

    Hi Stéphane,

    Thanks for reaching out to Jotform Support. Our French Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, it might take a while until they're available again.

    Now, coming back to your question, you can add the Get Form Page URL widget to your form, then set up conditions, so that the section of the form intended for the 2nd and last recipient will only be visible to them if they edit the submission. Let's do it:

    1. In Form Builder, click on Add Element, and go to the Widgets tab.
    2. Search for and select Get Form Page URL.

    Comment afficher conditionnellement les champs du formulaire lors de lédition des soumissions ? Image 1 Screenshot 50 Then, let's set up the conditions:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. In the menu on the left, select Conditions.
    3. Click on Add Condition and select Show/Hide field.

    Comment afficher conditionnellement les champs du formulaire lors de lédition des soumissions ? Image 2 Screenshot 61Set the condition as you see below:

    Comment afficher conditionnellement les champs du formulaire lors de lédition des soumissions ? Image 3 Screenshot 72Lastly, you need to add the Edit Link to the Autoresponder Email:

    1. Still, under Settings, go to Emails.
    2. Hover your mouse over Autoresponder Email, and click on the Pencil icon to edit.
    3. Click on the Form Fields button, and select Edit Link.
    4. Click on Save.

    Comment afficher conditionnellement les champs du formulaire lors de lédition des soumissions ? Image 4 Screenshot 83 Give it a try and let us know how it goes.