Forums
Home / Plugin: MailPoet - Newsletters, Email Marketing, and Automation / Wrong Error Message for “Required” Field
(@jetxpert)
3 years, 3 months ago
We created a custom checkbox field for our form. The field was set up as “Required.”
Unfortunately, the error message displayed when the box is not checked says: “Please select at least one option.” It should say: “This field is required.”
How do we fix the above?
Thank you!
3 years, 2 months ago
Temporary Solution:
We managed to temporarily fix this issue by going to the following file:
wp-content/plugins/mailpoet/lib/Form/Block/BlockRendererHelper.php
and changed Line 64
From: ‘Please select at least one option’
To: ‘This field is required.’
Hopefully, the developers of MailPoet 3 will look into this and come up with a permanent solution.
Cheers!