Gazley Posted October 19, 2014 Share Posted October 19, 2014 Hi there, I have a standard (non-FormBuilder) form on a PW page with its method set to 'post'. When it hits the server, the request method shows 'get'. Suffice to say, there are no post variables and I need them! The form markup looks absolutely fine. The only thing about this page is that its template allows URL segments. Any ideas why this form comes through as a 'get' when it's clearly a 'post'? Thanks. Link to comment Share on other sites More sharing options...
Martijn Geerts Posted October 19, 2014 Share Posted October 19, 2014 Had the same last week. I spelled method wrong. <form action="http://i-m-a-fool.com" methode="post"> <-- I did this 4 Link to comment Share on other sites More sharing options...
Gazley Posted October 19, 2014 Author Share Posted October 19, 2014 HI Martijn, Nope. I'm a better speller than you It's not that. Thanks for the heads-up though. Link to comment Share on other sites More sharing options...
Gazley Posted October 19, 2014 Author Share Posted October 19, 2014 Hi Martijn, Even though I hadn't spelled "method" incorrectly, your suggestion forced me to look very closely at the form. I noticed that the action value was action="/booking" It was redirecting because it didn't have a trailing slash and coming back as a GET Yay!! Cheers 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now