trychanging the trigger for the validation:
if (isset($_POST["Opera_01_submit"])) {
to any form post:
if($_SERVER["REQUEST_METHOD"] == "POST") {
also in the server validation behavior, add a required validation for the checkbox.
for the checkbox, instead of using a session value:
<input name="Villkor_godkant" type="checkbox" id="Villkor_godkant" value="<?php echo $_SESSION['Villkor_godkant_opera']; ?>" />
use a hard coded value like 1:
<input name="Villkor_godkant" type="checkbox" id="Villkor_godkant" value="1" />