Hi Luoy,
Concerning the Groups plugin, there is no lots of parameters. I have checked all postypes to be used with and only administrator can define the Groups use.
Now, here is an example of how this is done on the page (postype = concours) where my Creds are :
[groups_member group="Membre"]
[wpv-conditional if="( $(wpcf-ic-boxes-existe-m) ne '' )"] <div class="untiers"><h3>Réservation de Boxes</h3>
<div class="descrip">[types field="ic-boxes-description"][/types]</div>
[cred_form form="commande-box"]</div>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-ic-dress-existe-m) ne '' )"] <div class="untiers"><h3>Dressage</h3>
<div class="descrip">[types field="ic-dress-description"][/types]</div>
[cred_form form="inscription-dr"]</div>[/wpv-conditional]
[/groups_member]
And the "commande-box" Cred :
[credform class="cred-form cred-keep-original"]
Réserver un box pour le concours : [wpv-post-title]</br>
<div class="bloc">
<div class="cred-label">Choix du cheval :</div>
[cred_generic_field field='_wpcf_belongs_chevaux-concours_id' type='select' class='' urlparam='']
{
"required":1,
"validate_format":0,
"persist":1,
"default":[],
"options":[{"value":"","label":"Choisissez votre cheval"}, [wpv-view name="select-cheval-concours"] ]
}
[/cred_generic_field]
<div style="display:none;">
<div class="cred-label">Choix du concours :</div>
[cred_field field='_wpcf_belongs_concours_id' value='' order='date' ordering='desc' select_text='--- not set ---' value='[wpv-post-id]' class='form-control' output='bootstrap']
Quantité : </br>
[cred_field field='ic-quantite-box' post='inscriptions-box' value='' urlparam='' class='form-control' value='1' output='bootstrap']
<div class="cred-field cred-field-ma-tarifs-m">
<div class="cred-label">Tarifs membre</div>
[cred_field field="ic-boxes-choix-tarif-m" post="inscriptions-box" value='[types field="ic-boxes-choix-tarif-m" output="raw"]' urlparam=""]
</div>
</div></br>
[cred_field field="form_submit" value="Commander" urlparam=""]
[/credform]
And "Inscription-dr" Cred :
[credform class="cred-form cred-keep-original"]
Choisissez cette épreuve :
<div class="bloc">
[cred_field field="ic-dress-options" post="inscriptions-dr" value="" urlparam=""]
</div>
<div class="bloc">
<div class="cred-label">Choix du cheval :</div>
[cred_generic_field field='_wpcf_belongs_chevaux-concours_id' type='select' class='' urlparam='']
{
"required":1,
"validate_format":0,
"persist":1,
"default":[],
"options":[{"value":"","label":"Choisissez votre cheval"}, [wpv-view name="select-cheval-concours"] ]
}
[/cred_generic_field]
</div>
<div class="bloc">
<div class="cred-label">Choix du cavalier :</div>
[cred_generic_field field="_wpcf_belongs_cavaliers-concours_id" type="select" post="inscriptions-dr" class="" urlparam=""]
{
"required":1,
"validate_format":0,
"persist":1,
"default":[],
"options":[{"value":"","label":"Choisissez votre cavalier"}, [wpv-view name="select-cavalier-concours"] ]
}
[/cred_generic_field]
</div>
<div style="display:none;">
<div class="cred-label">Choix du concours :</div>
[cred_field field='_wpcf_belongs_concours_id' value='' order='date' ordering='desc' select_text='--- not set ---' value='[wpv-post-id]' class='form-control' output='bootstrap']
<div class="cred-field cred-field-dr-tarifs-m">
<div class="cred-label">Tarifs membre</div>
[cred_field field="ic-dress-choix-tarif-m" post="inscriptions-dr" value='[types field="ic-dress-choix-tarif-m" output="raw"]' urlparam=""]
</div>
</div></br>
[cred_field field="form_submit" value="Commander" urlparam=""]
[/credform]
Regards
Pat