Title: Conditional logic
Last modified: March 5, 2018

---

# Conditional logic

 *  Resolved [mrkenobi](https://wordpress.org/support/users/mrkenobi/)
 * (@mrkenobi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/conditional-logic-36/)
 * Hello,
 * The Gravity forms plugin supports the conditional logic fields.
 * I was wondering about using conditional logic within generated pdf file.
 * For example: some users would need only 2 or 3 fields to fill and add some images,
   but some users would be able to add more fields and more images using form’s 
   conditional logic.
 * Can this plugin generate such (conditional) pdf files?
 * Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/conditional-logic-36/#post-10038457)
 * Yes. Gravity PDF’s Core PDF templates supports conditional fields out of the 
   box and will hide/show fields when Gravity Forms conditional logic says so.
 *  Thread Starter [mrkenobi](https://wordpress.org/support/users/mrkenobi/)
 * (@mrkenobi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/conditional-logic-36/#post-10038472)
 * Okay, sounds great. However, these fields, showed or hidden (and showed later
   on other generated files) can be defined how to be displayed within the pdf?
 * If yes, would I have to define the exact number of possible fields or it is generated
   by the field type which, in this case, would be repeated many times but with 
   different input?
 * Thank you
 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/conditional-logic-36/#post-10038487)
 * By default, the Core templates will follow any conditional logic you’ve configured
   in the form editor. The layout is controlled by the template. If you’d like to
   change how a PDF looks you’ll need to [create a custom template](https://gravitypdf.com/documentation/v4/developer-start-customising/)
   using HTML/CSS/PHP.
 * Since the plugin is free, I’d suggest installing it and testing it out on a form
   to see what it’s capable of.
 *  Thread Starter [mrkenobi](https://wordpress.org/support/users/mrkenobi/)
 * (@mrkenobi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/conditional-logic-36/#post-10038496)
 * Okay thanks.
    I’ll dive into, seems capable enough for my project.
 * Cherryo

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Conditional logic’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-pdf-extended/assets/icon-256x256.png?rev=3168987)
 * [Gravity PDF](https://wordpress.org/plugins/gravity-forms-pdf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-pdf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/reviews/)

## Tags

 * [conditional logic](https://wordpress.org/support/topic-tag/conditional-logic/)

 * 4 replies
 * 2 participants
 * Last reply from: [mrkenobi](https://wordpress.org/support/users/mrkenobi/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/conditional-logic-36/#post-10038496)
 * Status: resolved