Dynamically hide unanwered form elements from lists

railer

Member
Here's a question based on a request from one of my clients...

Is it possible to dynamically hide form elements for which no answer is provided, i.e., they skipped that question?

The form has a bunch of questions, say 110 elements, mostly Yes/No and some pulldowns and they only want to show the answers for questions which were answered, and hide the others which the user skipped.

Can I filter for if notEmpty ==! or something like that and hide it? If so, how might it be done?
 
"Empty" elements have a CSS class
fabrikDataEmpty
which is set to display:none per default in the details bootstrap template
 
Can it really be so easy? So this will also not display the label, yes? If so, Thanks! I'm not there yet as we are still planning the database, so I can't test but at least it looks like the feature can be implemented.
Cheers!
 
Are there any limitations regarding what element types the fabrikDataEmpty class will not work with? It seems to work on one site, but not on another site. In the first, it hid radio buttons fine. In the second unanswered text field elements still displayed the labels in the detail view.
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top