-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot seem to force to POST... #2585
Comments
Submitting as issue as there was no comment in discussion board... |
Addendum - forgot to include that I'd made a simple HTML form, using POST, which sent data through to the PHP and this came through correctly as POST variables as expected - so I know that the PHP is working correctly - which demonstrates the issue is with the html/w2ui... |
I'm sad to say that I'm actively looking / developing alternate options to replace the system I'd developed on top of W2UI, using individual jquery/bootstrap components as post is something I'd really like to have, and I'd not had a response... :-( |
Discussed in #2568
Originally posted by carlbeechvuw October 3, 2024
Hi
Working with V2 - on both Grid and Form objects, I always get GET style data rather than POST... I'm using php with a front end web page which uses w2ui - and the PHP always reports comms as being GET. (As its the receiving PHP, I can't do a jsfiddle to demonstrate I'm afraid...)
Here's the front end code:
When I make a change and click save, I've got PHP sending information to a log file - here's the relevant part:
2024-10-03 07:33:46 ConsolidateInputs:POST variables:
2024-10-03 07:33:46 ConsolidateInputs:GET variables:
2024-10-03 07:33:46 GET variable:datatype=PtchGrpDates
2024-10-03 07:33:46 GET variable:ObjType=GRID
2024-10-03 07:33:46 GET variable:request={"datatype":"PtchGrpDates","ObjType":"GRID","changes":[{"recid":"1000024","PatchingDate":"2024-09-23"}],"action":"save"}
As you can see in the code, I've tried to set the sending method to be POST, but it doesnt appear to work... as mentioned, its the same with FORMS as well...
I know I'm missing something - but after 2-3 weeks of not being able to work it out - I thought I'd raise this as a query...
Addendum - forgot to include that I'd made a simple HTML form, using POST and this came through correctly as POST variables as expected.
Hope you're able to help
Thanks
Carl.
The text was updated successfully, but these errors were encountered: