but when i select the file and submit i get the following message[2021-03-11T17:46:36.426803+00:00] log.DEBUG: 400 Bad Request Type: Slim\Exception\HttpBadRequestException Code: 400 Message: Invalid post request File: /var/www/html/src/PermissionMiddleware.php Line: 111any ideas
tired adding
// Page Loading event
function Page_Loading() {
if (CurrentPageID() == "custom") CurrentPage()->CheckToken = FALSE;
}
You may refer to the generated code in views/{Tablename}Add.php. For example, from the demo project, you may see this code from views/CarsAdd.php file:
You don’t have to copy paste all the code, just copy the code that related to token. That code should give you the idea how to implement token for your form in Custom Files.
Hi
Has anything change in V2022 as getting
400 Bad Request Type: Slim\Exception\HttpBadRequestException Code: 400 Message: Invalid post request File:
when i try and submit a form with a file attached. same code work fine in V2021