CMS Development

edgfx
Membre

ISSUE: Consent checkbox not showing error message when not checked.

I have a client who is trying to become more GDPR compliant and one of the issues they brought up to me is that the form doesn't display an error message when the checkbox for GDPR isn't checked.

 

This is a significant UX problem because without any clear indication, the user is left guessing as to the reason for the submission not going through.

 

Need to get this addressed ASAP! Thank you.

0 Votes
7 Réponses
MJose9
Membre

ISSUE: Consent checkbox not showing error message when not checked.

i know how it was work if anyone help then visit this: Trolling Motor Mounts for Kayak    

 

0 Votes
miljkovicmisa
Contributeur de premier rang | Partenaire solutions Platinum
Contributeur de premier rang | Partenaire solutions Platinum

ISSUE: Consent checkbox not showing error message when not checked.

Hello @edgfx , thanks for writing in the forum.
This issue is easily fixed by making the gdpr checkbox a required field.
This is done in the following steps:
1. Inside the form editor of the selected form hover over the gdpr field and click on the "pen" icon in the upper right corner like shown in the screenshot.

pen icon.png

 

2. A new panel opens on the left side of the window that shows the field editor, it contains all the texts and checkboxes of the gdpr field, from there you can find the consent checkbox field and check the "make this field required" checkbox.

required field.png

 After all of that hit the "Update" button in the upper right corner of the window so you can save all changes and update the form, then you can check the form by trying to submit without checking the consent box and you should see the error message below the checkbox text.
If you need any further assistance don't hesitate to write here with more details about your issue.

If my answer was helpful please mark it as a solution.

edgfx
Membre

ISSUE: Consent checkbox not showing error message when not checked.

The field is already set as required.
0 Votes
miljkovicmisa
Contributeur de premier rang | Partenaire solutions Platinum
Contributeur de premier rang | Partenaire solutions Platinum

ISSUE: Consent checkbox not showing error message when not checked.

Okay, then it may be a css issue hiding the error label.
Could you post a link of the page with the form that has this issue so we can debug this?

0 Votes
edgfx
Membre

ISSUE: Consent checkbox not showing error message when not checked.

Sure!

This is the page link: gauzy.com/contact/

If you fill in everything and leave the last checkbox unchecked, it will
block the form submission and not display any errors with regards to the
fact that the checkbox must be checked.
0 Votes
miljkovicmisa
Contributeur de premier rang | Partenaire solutions Platinum
Contributeur de premier rang | Partenaire solutions Platinum

ISSUE: Consent checkbox not showing error message when not checked.

Hello @edgfx , I see that you problem is fixed now, did my answer help you with the solution? If so please mark it as a solution so others could find this info if they have a similar issue.

0 Votes
miljkovicmisa
Contributeur de premier rang | Partenaire solutions Platinum
Contributeur de premier rang | Partenaire solutions Platinum

ISSUE: Consent checkbox not showing error message when not checked.

It is a css issue as I imagined, you should be able to add the following rules somewhere in the end of your css file:

 

.hs-fieldtype-booleancheckbox ul.no-list.hs-error-msgs.inputs-list {
    display: block!important;
    font-size: 10px;
    color: red;
}

 


Or add the snippet below in the settings of the page under the advanced options at the additional code snippets in the header field (read more about it here😞

 

<style>
.hs-fieldtype-booleancheckbox ul.no-list.hs-error-msgs.inputs-list {
    display: block!important;
    font-size: 10px;
    color: red;
}​
</style>

 

miljkovicmisa_1-1630273091204.png

 



This will produce the following effect:

miljkovicmisa_0-1630272739342.png

 

If my answer was helpful please mark it as a solution.