Title: Conditional fields with gravity forms
Last modified: November 1, 2019

---

# Conditional fields with gravity forms

 *  Resolved [toll02](https://wordpress.org/support/users/toll02/)
 * (@toll02)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/)
 * Hi. I am dynamically completing an email address in a gravity form using a query
   string.
    www://mywebsite.com/my-gravity-form-page/?fullname=cec%20cook&formref
   =999&email=cecemail@gmail.com
 * It works perfectly until the email field is contained in a ‘conditional’ section
   on the form – ie. ‘only display this section if the answer to this question is…’
   
   In these conditions the populated field is encoded with scrambled letters. Is
   there any way to avoid this? Many thanks

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12088469)
 * Mhh, I’m not sure. I’d ask your web developer to look into that for you.
 * Alternatively, you could use the premium version, which should handle that for
   you automatically.
 *  Thread Starter [toll02](https://wordpress.org/support/users/toll02/)
 * (@toll02)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12106316)
 * Many thanks for the update. As Gravity is such a popular plugin and the ‘conditional’
   feature a commonly used function I would question whether this shouldn’t be something
   that is fixed with your plugin as a ‘conflict’ issue. It occurs irrespective 
   of theme / plugins activated. I also unsure how the premium version of your plugin
   would fix it so perhaps you could provide more details. At the moment the only
   way round it is to deactivate your plugin which is a shame.
    Thanks
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12107889)
 * It’s not a fix, but a feature you’re asking for and I just don’t have the time
   to support all 3rd party plugins for free.
 * The premium version encodes all emails automatically 👍🏻
 *  Thread Starter [toll02](https://wordpress.org/support/users/toll02/)
 * (@toll02)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12107913)
 * Hi. Thanks for the response, Tim. My problem is that it IS encoding the email
   when under a conditional input. I don’t want it to, I want it to behave as it
   does when the email field is not under a conditional element. I think when one
   is dealing with input forms it is inappropriate for an email to be encoded. Even
   if you disagree I think the plugin should be consistent – it either encodes these
   emails or it doesn’t. So, again, I am unsure if your premium plugin would help.
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12108012)
 * This plugin is encoding filters like `the_content`, if Gravity forms uses those
   filters then email addresses will be encoded.
 * The Premium version allows you to exclude specific emails from being encoded.
 *  Thread Starter [toll02](https://wordpress.org/support/users/toll02/)
 * (@toll02)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12109876)
 * Ok, thanks for taking the time to explain a little more

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

The topic ‘Conditional fields with gravity forms’ is closed to new replies.

 * ![](https://ps.w.org/email-address-encoder/assets/icon-256x256.jpg?rev=970206)
 * [Email Address Encoder](https://wordpress.org/plugins/email-address-encoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-address-encoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-address-encoder/)
 * [Active Topics](https://wordpress.org/support/plugin/email-address-encoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-address-encoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-address-encoder/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [toll02](https://wordpress.org/support/users/toll02/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/conditional-fields-with-gravity-forms/#post-12109876)
 * Status: resolved