• Resolved kingteamdunet

    (@kingteamdunet)


    Hello,

    Is it possible to hide the form by group?
    I would like when you click on “Technical Service”
    The form is not displayed, how to do it

    The message appears well, but the form is not hidden.

    <label> [group group-862]
    Pour les problèmes techniques privilégiez l'ouverture d'un ticket d'incidence  <a href="https://www.domaine.eu/termes-et-conditions/" target="_blank">conditions d’utilisations</a>
    [/group] </label>

    Here is our form:

    <label> Catégorie (obligatoire)
        [select* menu-623 include_blank "Présentent un témoignage" "Je souhaite mettre de la publicité" "J'ai une suggestion ou une offre de partenariat à faire" "Service technique" "Autres" ] </label>
    
    <label> [group group-862]
    Pour les problèmes techniques privilégiez l'ouverture d'un ticket d'incidence  <a href="https://www.domaine.eu/termes-et-conditions/" target="_blank">conditions d’utilisations</a>
    [/group] </label>
    
    <label> Votre nom (obligatoire)
        [text* your-name] </label>
    
    <label> Votre e-mail (obligatoire)
        [email* your-email] </label>
    
    <label> Sujet
        [text your-subject] </label>
    
    <label> Votre message
        [textarea your-message] </label>
    
    [file file-684 limit:1048576 filetypes:png|jpg|jpeg]
    Types de fichiers: jpg , jpeg , png
    
    <label> Accepter nos conditions d’utilisation (obligatoire)
    [acceptance accept-this-1] Je l’ai lu et accepté les <a href="https://www.domaine.eu/termes-et-conditions/" target="_blank">conditions d’utilisations</a> </label>
    
    [submit "Envoyer"]

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    if [menu-623] not equals "Service technique" then show [group-862]

    Thread Starter kingteamdunet

    (@kingteamdunet)

    I still see the form when I click on Technical Service
    Image attached
    https://img4.hostingpics.net/pics/132812forum.png
    Thank you

    Plugin Author Jules Colle

    (@jules-colle)

    oh, so you need to wrap the part of the form you want to hide between group tags. For example:

    <label> Catégorie (obligatoire)
        [select* menu-623 include_blank "Présentent un témoignage" "Je souhaite mettre de la publicité" "J'ai une suggestion ou une offre de partenariat à faire" "Service technique" "Autres" ] </label>
    
    [group the-entire-form]
    ... add all your form fields here
    [/group]
    
    [submit "Envoyer"]

    and then add this condition:

    if [menu-623] not equals "Service technique" then show [the-entire-form]

    Thread Starter kingteamdunet

    (@kingteamdunet)

    Thanks a lot for your help

    Plugin Author Jules Colle

    (@jules-colle)

    you’re welcome! Feel free to leave a small review if you like the plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is it possible to hide the form ?’ is closed to new replies.