Gossamer Forum
Home : General : Internet Technologies :

method="POST" changes to "GET"

Quote Reply
method="POST" changes to "GET"
I have written a script with the following form tag:

Code:

<form action="/events" id="add_event_ method="POST" enctype="multipart/form-data">

...

<input type="submit" name="op" value="Submit My Event" class="form-submit" />
</form>



When I press the SUBMIT button, the form data is passed as though I used the GET method rather than POST. Has anyone ever encountered this problem and if so, what causes it? This one has me stumped.
Quote Reply
Re: [Lee] method="POST" changes to "GET" In reply to
One thing that stands out is that you need to change:

Code:

<form action="/events" id="add_event_ method="POST" enctype="multipart/form-data">


to:

Code:

<form
action="/events" id="add_event_" method="POST" enctype="multipart/form-data">

----
Cheers,

Dan
Founder and CEO

LionsGate Creative
GoodPassRobot
Magelln
Quote Reply
Re: [Lee] method="POST" changes to "GET" In reply to
DUH!!!!

Give me a second while I slap myself harshly across the head ... how could I miss a typo so badly as that??? Time for more coffee. Thanks for pointing out such a rediculous typo on my part!