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.

Creating a Product Survey

  1. Before we jump in and start working with GF, I'd like to make sure this would work and is a good solution.

    We need to associate a survey (a couple of Likert prompts and a few text fields) to a few hundred products (made from custom types) to create a rating system. I just want to follow up here and make sure that:

    1) form fields like a dropdown of products (or a hidden field) can be set based on the page/product it appears on

    or

    2) can each product programmatically create its own form from a survey template?

    Posted 8 years ago on Friday June 7, 2013 | Permalink
  2. Anything?

    If I could get a response to either question, we would shell out for the Dev license right away. The lack of response is sort of disheartening.

    Posted 8 years ago on Tuesday June 11, 2013 | Permalink
  3. So, it's been a week.

    Should I assume that's a no to both and move onto another plugin?

    Posted 8 years ago on Friday June 14, 2013 | Permalink
  4. David Peralty

    Sorry about the delay. The answer to both of your questions is no, though.

    You can't programatically create a form currently, and it would require custom code to load each drop down based on the page you are on.

    Posted 8 years ago on Friday June 14, 2013 | Permalink
  5. Thanks for the response.

    If it's okay, a followup question/clarification. I'm okay with some custom code for the templates we are creating.

    I suppose what I'm asking is if a query param could be used to set a hidden field or select an item in a dropdown within a form. Just want to make sure there's nothing that prevents that outside nudge.

    Posted 8 years ago on Friday June 14, 2013 | Permalink
  6. David Peralty

    Yes, you can detect what page the form is on, and depending on the page, you could have it load different options into a dropdown or a hidden field using gform_pre_render. http://www.gravityhelp.com/documentation/page/Gform_pre_render

    Posted 8 years ago on Friday June 14, 2013 | Permalink