Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hidden fields in the ticket #3534

Open
Sicoval31 opened this issue Sep 19, 2024 · 3 comments
Open

hidden fields in the ticket #3534

Sicoval31 opened this issue Sep 19, 2024 · 3 comments

Comments

@Sicoval31
Copy link

Hi,
in a forms, some fields are used to have access to other ones, the answer is not needed in a ticket (as information fields).
Why not add an option for each field to hide it in the ticket.
And so ... not add field in the ticket whom no answer as been set.


Dans les formulaires, certaines questions servent à afficher des questions masquées.
Avoir une option pour cacher cette question dans le ticket serait intéressante car elle n'est pas utile.
De même, pouvoir ne pas inclure dans le ticket les questions sans réponses serait un plus et allégerai le ticket (surtout avec # FULLFORM)
Exple :
Q1 : compte utilisateur connu (O/N)
si oui : affiche Q2 : utilisateur (acteur GLPI)
si non : affiche Q3 : utilisateur (champ texte de saisie libre)

La réponse à Q1 n'est pas utile dans le ticket

@btry
Copy link
Collaborator

btry commented Sep 19, 2024

Hi

Formcreator does not has logic to conditionnally show answxers in the targets. It can only hide unanswered questions with the tag ##FULLFORM##.

This would requires a more powerful templating system.

The plugin reached end of life then this feature will not be added. You may ask for it after the release of GLPI 11 which will implement native forms. They will replace Formcreator.

@Sicoval31
Copy link
Author

OK, mais : It can only hide unanswered questions with the tag ##FULLFORM##.
ne fonctionne pas !PAs de réponses aux questions et malgré la balise ##FULLFORM## la question s'affiche bien dans le ticket
image

On verra en V11 ;)

@btry
Copy link
Collaborator

btry commented Sep 19, 2024

Yes: I forgot to mention that unanswered questions are also those which are hidden by a condition. If the question is visible, the answer (even empty) will be visible in the target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants