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.

Only first post displays form

  1. extreme-south
    Member

    I have created a purchase form which I've hooked into every post on a site (3500+ posts). A checkbox expands the form. On categort index/archive pages only the first post shows the checkbox. To see the form on all other posts you have to actually call up the post itself.

    The site displays all posts in full. The form displays within posts perfectly and functions as expected. I've tried adding the form as a shortcode or function call - no difference.

    If I add plain text into the hooked area then it displays fine on all posts - only the form has the problem.

    Is there some reason that only the first post shows the checkbox and not subsequent posts?

    thanks

    Posted 11 years ago on Wednesday November 14, 2012 | Permalink
  2. David Peralty

    Can I see the form for more information? I don't quite understand what you are trying to do nor where the issue could lie.

    Posted 11 years ago on Wednesday November 14, 2012 | Permalink
  3. extreme-south
    Member

    See the checkbox under the first cartoon - it should appear under every cartoon...
    http://nicholsoncartoons.com.au/

    Posted 11 years ago on Wednesday November 14, 2012 | Permalink
  4. David Peralty

    You might want to only have this on your single.php, as you are trying to use the same form multiple times on the same page, and it won't work as expected, hence the issue you are seeing.

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  5. extreme-south
    Member

    Yes, but I want to see that little checkbox on each one. Is that possible? And if so, how?

    thanks

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  6. David Peralty

    If you call the form in your single.php then it should show up on the single view of each one. You can't have it show the way you have it now where the same form would be showing at the bottom of nearly a dozen posts on a single page.

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  7. extreme-south
    Member

    Single posts are not a problem, but I was hoping for that category view. A shame :-(

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  8. David Peralty

    Even a normal HTML form wouldn't work. It is not a limitation of Gravity Forms, but of all forms. If you put the same form multiple times on the same page, it will submit all of them or create other interesting issues. Sorry.

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  9. extreme-south
    Member

    Undersood. Thanks :-)

    Posted 11 years ago on Thursday November 15, 2012 | Permalink

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