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.

Can't resend a form

  1. I'm using a form to submit reviews of products (together with the "Gravity Forms + Custom Post Types" plugin to create a CPT). So far so good. This form has the "require to be logged in" checked and appears on the Product page.

    Here's the problem: When I first visit the page there's the form. I go checking the radio buttons, filling in text and send my evaluation. Everything works great. But then, another friend of mine, goes to the Product page and tries to send his review. It doesn't work!! The form isn't there, the page is showing the data I SENT before. It's looks like GF is showing the {all_fields} on the page instead of presenting the form itself.

    I don't know why this is happening, it makes no sense. Help please? =)

    Posted 12 years ago on Wednesday May 23, 2012 | Permalink
  2. David Peralty

    Can we get a link to your form please?

    Posted 12 years ago on Wednesday May 23, 2012 | Permalink
  3. Here's the link: http://tecnologiapessoal.com.br/?product=smartphone-samsung-galaxy-5

    Here's the path:
    http://tecnologiapessoal.com.br/
    - Avaliação
    -- Smartphone Galaxy 5

    Right at the top I'm gonna list all the reviews and afterwards I'm gonna show the form. (now it occurred to me that this may be an issue with the global $post variable or something, since I'm fetching this reviews with WP_Query)

    Posted 12 years ago on Wednesday May 23, 2012 | Permalink
  4. Solved! Just had to push the WP_Query to AFTER the the_content() call... Probably a wp_reset_query() would have worked as well...

    Posted 12 years ago on Wednesday May 23, 2012 | Permalink
  5. Right on, glad you got it sorted out. Thanks for letting us know.

    Posted 12 years ago on Wednesday May 23, 2012 | Permalink

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