• Hi there,

    Is it possible to output some content and text based on the answer of a question. Let’s say that if option b is answered in question 8, then the text in the PDF should be “Lorem ipsum”. Or if the age is above 25, then the text should be “You are an adult”.

    Is such logic possible?

    Best Regards,
    Peter B. Stidsen

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Oleksandr

    (@oleksandrz)

    Hello,

    Yes, there are 2 possible ways:

    1. Use the Element actions – it can change the complete field value based on user input/value: https://e2pdf.com/docs/actions/element

      Example: https://prnt.sc/GKJr-Wz-aJsJ
    2. Use the Inline conditional logic via [e2pdf-if] shortcode, which can be useful when the content is inline and should be dynamic, for example in HTML” object and not separate fields: https://e2pdf.com/docs/shortcodes/logic/e2pdf-if

      Example: https://prnt.sc/EljXT3pxQVho

      * in the case of an “HTML” object it’s also recommended to check the “Disable WYSIWYG Editor” option, as on the screenshot.

    This is an example for the Forminator Forms. If {radio-1} equals to “b” – then it will change the field text to “Lorem Ipsum” (1st example) or output the value “Lorem Ipsum” (2nd example). For other forms/integrations, instead of using {radio-1} – it needs to use form’s/integration syntax. To be sure that you are comparing correctly values, it can be used temporary “textarea” mapped with {radio-1} to be sure that you are using the correct value to compare with.

    Thread Starter pstidsen

    (@pstidsen)

    Thanks for your reply. That’s awesome.

    Is both options available in the free version?

    Plugin Author Oleksandr

    (@oleksandrz)

    Yes, both options are available in the free version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.