Bonjour,
j'essaie d'utiliser Formidable et d'afficher les réponses
Soit un formulaire avec plusieurs champs dont un champ date
j'ai une boucle
<BOUCLE_reponse(FORMULAIRES_REPONSES){id_formulaire=1}>
<tr>
<BOUCLE_reponse_champ1(FORMULAIRES_REPONSES_CHAMPS){nom=input_1}{id_formulaires_reponse}>
<td> #VALEUR</td>
</BOUCLE_reponse_champ1>
<BOUCLE_reponse_champ2(FORMULAIRES_REPONSES_CHAMPS){nom=input_2}{id_formulaires_reponse}>
<td> #VALEUR</td>
</BOUCLE_reponse_champ2>
<BOUCLE_reponse_champ3(FORMULAIRES_REPONSES_CHAMPS){nom=textarea_1}{id_formulaires_reponse}>
<td> #VALEUR</td>
</BOUCLE_reponse_champ3>
<BOUCLE_reponse_champ4(FORMULAIRES_REPONSES_CHAMPS){nom=date_1}{id_formulaires_reponse}>
<td> [(#VALEUR|affdate{'d-m-Y'})]</td>
</BOUCLE_reponse_champ4>
<BOUCLE_reponse_champ5(FORMULAIRES_REPONSES_CHAMPS){nom=input_3}{id_formulaires_reponse}>
<td> #VALEUR</td>
</BOUCLE_reponse_champ5>
</tr>
</BOUCLE_reponse>
Mais comment faire :
le tri des réponses par date saisie dans le formulaire (et non pas la date d'enregistrement du formulaire)
n'afficher que les réponses avec une date "futur"
Je bute
Merci de votre aide
Bruno