Unexpected Token in Regex [Form]

  • Goal: I am trying to include regex in my disable submit for a form.

  • Details: Hi everyone,
    I am trying to include a regex test in my disable submit for my form. This however gives me an error, see attached. What might i be doing wrong?

Bump

:wave: Yeah, the error isn't super helpful :thinking: If you add a closing parentheses ) to the end, before the closing }}, does it work?

Sometimes, throwing the same code (without the {{}}) into a JS query will provide a more specific error message