Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to submit form data as query string

4:38 pm on Feb 8, 2012 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 24, 2003
votes: 0

I have a lead gathering form on my website. I currently use it to gather leads for my clients as follows:

1. User fills out form
2. Form data is validated by form processing script on my server (java based validation)
3. Form data is posted to form processing script via

4. My form processing script saves the lead in a database, so I can review and count the leads generated and then it emails the form data to the client.
5. A confirmation page from my site is shown.

However, I have a new client that does not want to receive his leads via email. He wants me to post the form data directly to his website as a query string:


Unfortunately, I don't know how to code this. Can someone give me some ideas that may meet the following criteria:

1. User fills out form.
2. Form data is validated.
3. Form data is compiled into a query string and posted to clients site.
4. Somehow, form data is also sent/saved for me to review, as well.
5. Confirmation page from my site is shown.

Hopefully, there is an existing form processor/script!

7:32 pm on Feb 8, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

On the form action use method="GET" instead of POST.