I've created a button in a custom file to carry out a specific action (and avoid displaying the edit page).
<form action="LeagueEdit/<?php echo $league_id ?>?season_id=<?php echo $season_id+1 ?>" method = "post">
<input type="submit" value="Season Roll-Forward" class='btn btn-app bg-white'>
</form>
but get an Invalid post request.
I'm not surprised from a security perspective, but where do I look to find out how to do this? phpmaker2023
Many thanks.