You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...)
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:
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...
Hope that clarifies.
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: