SOLVED: Forms validation email

Hello.

Not sure if this is a bug, or me expecting too much from Bricks Froms.
I am making a subscribe to newsletter section and added a Bricks From. When I test the form the validation work for empty field, just the name and name@, but when I add anything after @, it submits the form, so test@test is valid.

Is this a bug? is there any way to add better validation? or do I need to use a plugin for this?

Browser: Chrome 110
OS: macOS

[Please describe this bug in as much detail as possible so we can replicate & debug this bug]

yes that’s normal for bricks

bricks builder forms doesnt have advanced regex checks.

Hey @endre,

sorry for a bit late response. Yep, I can confirm this and will add it to the internal tracker. Even if variation works here when you type and you see the error, it seems that it still submit it.

So, I tested with this and this was submitted.

So I guess that for now, before we if you want to be sure, you can create a custom action, and then manually do whatever you need after the validation.

I know it’s not perfect, but that’s for now. We will update this thread once it’s improved.

Best regards,
M

Please fix this issue! Thank you!

Hi guys,

We’ve improved the form validation in Bricks 1.11 BETA, now available as a manual download (Bricks – Account)

Please let us know if you are still experiencing issues.

You can see the full changelog here: Bricks 1.11 Changelog – Bricks

As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.

Best regards,
Matej

This is great! Could you elaborate on the validation checks? I see “Form element: Email validation (without domain) on submit” in the Changelog, but I’d like to know more about it.

I have customers always making mistakes on their emails such as:

test@test.comn
test@test.c
test@testcom
test@test.com\

Are there validations in place to check that these won’t go through?

Hi @xalodile,

this check added validation for email without a domain. Now, in your case, only third one will be marked as a “wrong” one.

Matej