PDF: Widget Logic

PDF: Widget logic

Widgets are different formats of content that you can include in your PDF report. They are the building blocks of your report. A widget can be a block of text, an image, a chart, a table, and more! 


Widgets are a way of displaying data, for example, in graphs or tables, based on the respondent's answer. If you include variables in the data fields of a graph widget or the text widget, it will display customized data from the responses. You could choose to show an answer given to a question, the score from a question or question block, or many other variables.


You can create rules so that widgets are only displayed when certain criteria are met. If you want to show a general widget that is visualized every time a PDF report is generated, you can choose not to include a widget logic rule.


1 Setting up a widget

Start adding the widgets that allow you to create a fully personalized PDF report for each respondent. There's a whole range of widgets you can use to create a professional report. Click on a widget name to go to the guide and learn how to add amazing personalized charts and content.


  1. Text
  2. Image
  3. Table
  4. Page or Section Break
  5. Formula Ranking
  6. Custom Results by Respondent table
  7. Question Block KPI
  8. Formula KPI
  9. Spider Chart
  10. Column Chart
  11. Pie Chart
  12. Bar Chart
  13. Gauge chart
  14. KPI

2 Set up logic rules


You can add multiple text widgets to create different text versions for each outcome you have in your questionnaire. To have the PDF show the right text you can add the widget logic rules, similar to the rules in our survey editor. Click add rule and now select which condition from the drop-down menu should be used to decide when to show the widget.


Add logic rule


Add logic rule


Once you've chosen the initial condition, you can specify exactly what conditions need to be met, for example, the answer to the question must be greater than a certain number. If you need a more complex condition, click on the white circle with a purple + sign to add criteria that will be in addition to the other criteria (AND), or instead of (OR).


Add logic rules example


Tip: If you have set up outcomes, you can choose an outcome as the criteria for showing the widget. Choose outcome from the drop-down menu and then select what the outcome should or should not equal so that the widget will be shown. You can set the outcome as the only criteria, or as an additional criteria as shown below. In this example, we clicked the purple button and added that the widget should be shown if both the response on intro field criteria AND the outcome criteria is fulfilled.

add outcome - widget logic rules



IMPORTANT NOTE 1

Create a new response to test your widget logic rules you set up.

IMPORTANT NOTE 2

Make sure to set up your logic values in the correct order. The values should be put in from low to high.


widget logic rule - add value

Once you've saved your logic rules, don't forget to save PDF and you're ready to add more widgets!


V
Vincent is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.