Server Connect Validator not working with global db connection?

Wappler Version:3.6.0
Operating System: Windows 10

What do you think should happen?
Validator should query DB and return error for duplicate records in the database.

What actually happens?
Server API returns error ‘Connection “db” not found’. There’s only a single connection, called db, defined under globals and the server action works without the validation step. I’ve tried deleting and recreating and on another blank page.

This is the server action:


This is the validator step:


This is the error:

image

Community Page
Last updated: