Post tags in a hidden field

Is there a way to populate a hidden field with the post tags? I want to apply certains conditions regarding the existing post tag! Thanks!

Screenshot 2020-02-03 12.04.17|481x500

You can populate the field in the form using the gform_field_value filter:

You would need to write the function or code to pull the post tags from the current post where the form is embedded. The WordPress function might be get_tags() or get_the_tags():

https://developer.wordpress.org/reference/functions/get_the_tags/

© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.