For a series of custom post types where I have a gravity forms attached, I would have stored some meta fields containing dates, which I can format as simple integers ($dd, $mm, $yyyy)
I need to create a list of "high seasons" for a tourism ecommerce setup. Each custom post type could have its own "high season" period and I can specify that with date ranges.
Based on these ranges I'd with to show/hide certain fields in the related gravity form appearing on the post.
I know how to populate fields in a gravity form, but in this case it's about conditional logic.
Suppose I populate a hidden field [1] with a $mm (month value).
Then suppose I have two more fields in the form:
[2] one is a month dropdown
[3] the other is a normal field that would show up only if month dropdown value [2] == hidden field value [1]
that is if month value set in custom field and assigned to field [1] is identical to value chosen by user for field [2]
Carl told me that I can't pass PHP into conditional logic
http://www.gravityhelp.com/forums/topic/passing-values-dynamically-in-conditional-logic
but in this case I wonder if there's any internal variable that can compare two fields in the same form, for example if there's anything else than a specific value I can put in the conditinal logic fied
if this is not possible either, what would you suggest me to do? any ideas are greatly appreciated...
thank you