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.

form in widget - redirect on confirmation not working

  1. Hi,
    I've set up a search form in a sidebar widget positioned in the nav. I'm trying to get it to store the search query then redirect to the domain root and do the standard wordpress search.

    see http://www.powerplay-golf.com

    It won't redirect, it just fills the address bar with a huge string then gets stuck. However if I place the form in the page content it redirects fine.

    Its set to redirect to the site url with ?s={search} as the variable. This works when placed in a page but not when used in a widget, any ideas??

    Posted 8 years ago on Thursday April 21, 2011 | Permalink
  2. basically, I think its getting stuck in the submit stage as there are not notifications or entries being generated

    Posted 8 years ago on Thursday April 21, 2011 | Permalink
  3. could it be because the sidebar request is made in wordpress's header.php template file?

    I have tried using the form widget in the page.php via another sidebar file and it works fine???

    Posted 8 years ago on Thursday April 21, 2011 | Permalink
  4. please see http://www.powerplay-golf.com/test-page/ for examples

    there is the form in the page content - works fine

    the one in the nav - gets stuck in submission, no idea why, its referenced in a sidebar widget exactly the same way as the one in the page content wich is a sidebar sat under the <?php the_content(); ?> tag

    Posted 8 years ago on Thursday April 21, 2011 | Permalink
  5. How are you displaying the form in the search bar? Are you using the Gravity Forms function call to display the form or have you copy-n-pasted code?

    Posted 8 years ago on Thursday April 21, 2011 | Permalink
  6. I placed a sidebar there in the template and used the widget built into the plugin

    Posted 8 years ago on Tuesday April 26, 2011 | Permalink
  7. if i use the function call script it still locks up on submit

    its as if whatever script is meant to run after the data is submitted via a get request isnt firing

    Posted 8 years ago on Tuesday April 26, 2011 | Permalink
  8. It's going to be however you implemented it in your theme combined with a theme or plugin conflict introducing the issue. I see it's no longer there, it appears you have reverted to a hardcoded search form for that functionality. If you revert it back, or add it to a test page, we can take a look.

    Posted 8 years ago on Tuesday April 26, 2011 | Permalink
  9. the form is in two places on this page

    http://www.powerplay-golf.com/test-page/

    the widget one is to the right of the main nav

    the other is in the content

    they are separate forms with the same config, the one in the content submits fine, however the one in the nav bar doesnt.

    Posted 8 years ago on Wednesday April 27, 2011 | Permalink
  10. Send us a WordPress admin login for this site via our Contact Us form and we'll take a look and see what is going on.

    Posted 8 years ago on Wednesday April 27, 2011 | Permalink