NO BUG: Required checkbox, doesn't show required message by browser

Browser: Chrome 134.0.6998.166
OS: macOS
URL: https://xdigital.agency/it/contatti/

Hi there,
i’m experiencing an issue on forms created in Bricks v. 1.12.3 in several websites (linked above our agency website): if a checkbox element is required, the browser only focus on it and doesn’t show the required message if the checkbox isn’t checked:
https://jam.dev/c/5b5081f3-78a1-432a-9945-c9452b06beee

It works with the other types of fields, but in one another websites, the message doesn’t show up even in text fields:
https://jam.dev/c/649890dd-1f70-433f-9ff2-7c5e21b529e7

Hello @simonexdigital,

About the first issue:
It looks like the issue are some of the applied CSS styles. After I removed those, the browser error message shows. It seems like the styles are applied using ACSS.
CleanShot 2025-04-07 at 11.53.40

About the second issue: Chrome does have a problem with showing the required checkbox, if scroll-behavior: smooth; is enabled.

As both of them do not seem to be caused by Bricks, I’ll mark it as no bug.

Best regards,
Matej

Hi Matej,
thank you for your reply.

I’ve removed the class .form–dark from ASCC and deactivated the smooth scroll: now Chrome show the required message but even if the box is checked, for the browser it is not.

How can i handle it?

Thank you

@Matej here is the settings of the checkbox in Bricks

Hi @simonexdigital,

I think I see what is happening. Under the “Attributo: Nome”, you have Consesto privacy. This is not a valid value for the attribute, you should use valid HTML syntax - no spaces. For example: consenso-privacy would be a good one.

Can you try and let me know.
Matej.

@Matej confirm!
Thank you so much!

Simone

Perfect, thank you. :slight_smile:

Then I’ll keep it as no-bug :slight_smile:

Best regards,
Matej