Tell us what you are trying to do?
Have a Gravity form where a field is "Which office(s) would you prefer?" I would like the options to be automatically created using a view called "locations" that would be updated when the view/posts are updated.
For example this page - hidden link - shows our office locations using a View listing Custom post type Office Locations. I would like to use that list as a set of options for the aforementioned form field to select an office.
Thanks! I think GF does indeed support using shortcodes in that way, but if that is the case, how would I go about doing that? Just use the standard views shortcode?
I would highly advise contacting the gravity form support for this one.
The Documentation that you sent is for PHP code, it doesn't show how to do it with a shortcode. Unless there is an area in the gravity forms that would allow for you to place the shortcode for dynamically populating the content ten it won't be possible.
We are not able to use views in the way that this document specifies.
This document performs a manual query to get your posts. You do have the option of using this method as well.