Feature request: Basic html form validation for newsletter form

Posted in: Newspaper
Post count: 221

Hi,
For the newsletter form, there’s no validation provided at the frontend. For example, users can click the subscribe button without filling in the form, and the tagDiv newsletter form will submit it and take the user to a new page without asking them to fill it first.
So it will be good to add required in the HTML code at least for an email address. Because one cannot subscribe to the newsletter without providing their email address. Name field, city field, etc can be left empty but not the email address field.
And if it’s possible, we should be able to select if we want to keep the field required or not. For example, the checkbox field. Some checkboxes should be required like the “agreement to privacy policy” checkbox and some should be not required like the option to select if users want marketing tips etc. I know this requires a little more work because it would require some changes to be made with tagDiv composer or you have to fetch if the field is required or not from the form embed code from their classes or keywords, etc, but the email address one(the first one) is easy because it always has to be required and it only needs a word to be added in HTML — required.

Thanks.

Post count: 18283

Hello !

I have passed this update request to our developers but unfortunately at the moment I cannot say when this will be implemented.

Thank you !

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.