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.

Remove ? in query string

  1. Anyway I can prevent Gravity Forms from automatically insert a ? before the start of the field data in the query string?

    Thank you.

    -- Ed

    Posted 14 years ago on Thursday November 11, 2010 | Permalink
  2. That's just a standard querystring format. If you want to change it, you'd need to add a rewrite rule to your .htaccess file.

    Something like this..

    http://www.kavoir.com/2009/01/how-to-build-a-php-query-string-without-question-mark.html

    I'm sure there are other resources out there to show you how as well.

    Posted 14 years ago on Thursday November 11, 2010 | Permalink
  3. Tanks Kevin for that response. Only problem is I don't have control of the target domain. I am just trying to build a URL to bring up a certain page at that domain, based on the form input.

    Any suggestions would be appreciated.

    Thank you.

    -- Ed

    Posted 14 years ago on Thursday November 11, 2010 | Permalink
  4. Sounds to me like you'd need to create an intermediate page on your side, send the form to it with the default querystring, have the new page rewrite the URL in the format you need then redirect to it. Of course this would take some custom PHP work to happen.

    Posted 14 years ago on Friday November 12, 2010 | Permalink
  5. or .. you could include an option NOT to include the "/?" at the start of the query string. To make Gravity more flexible? So it can be used as a general purpose form builder?

    Posted 14 years ago on Monday November 15, 2010 | Permalink