PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Passing values dynamically in conditional logic

  1. Gaslight
    Member

    Is there a way to pass values for use with conditional logic in Gravity Forms?

    ie suppose I have a dropdown which is shown only when I've set a certain custom field in the post the form is on... would be that possible?

    thank you

    Posted 7 years ago on Sunday February 19, 2012 | Permalink
  2. Conditional logic can only be triggered by form field selections or input.

    The only time Conditional Logic supports being triggered by having values passed to it is if you are using the query string to set the value of a field that is used by conditional logic.

    Posted 7 years ago on Tuesday February 21, 2012 | Permalink
  3. Gaslight
    Member

    ok with 1.6.3 you have features like

    "show/hide field if X is greater/less than Y"

    I can set the value of X by php... but how about Y?

    suppose Y can vary from case to case if I attach the form in a post or another, I was hoping to store a value for Y in a meta field

    if this is not available yet, it would be cool to have in future

    thanks

    Posted 7 years ago on Tuesday February 21, 2012 | Permalink
  4. The conditional logic can only be configured in the form editor. You can't configure or change the conditional logic rules using PHP.

    Posted 7 years ago on Tuesday February 21, 2012 | Permalink

This topic has been resolved and has been closed to new replies.