Uniform: Incorrect Captcha value still allowing form submission

Thanks @texnixe - that is a great help.

I now have the opposite problem! When I try and submit the form with the CORRECT value in the calc field, I get the error message “Please solve the arithmetic problem”

Note: The error checking for it being a required field still works so leaving it blank elicits the correct “Please fill in…” response)

I have checked field names etc but can’t see anything.

Just to recap, the field is called in the template:

<?php echo captcha_field('as-result', 'field-asf'); ?>

This generates:

<input type="number" name="as-result" class="field-asf">

It is checked as being completed in the controller:

$contactform = new Form([
	...
	'as-result' => [
		'rules' => ['required', 'num'],
		'message' => 'Please fill in the anti-spam field',
	],
],'contact-form');

Then the controller calls the verification:

if ($kirby->request()->is('POST')) {
		$contactform
		->honeypotGuard(['website' => 'url'])
		->calcGuard(['as-result' => 'result'])
		->emailAction([
			...
		]);
    }

Any ideas?