WordPress.org

Forums

MailPoet Newsletters
[resolved] Widget validation error message (4 posts)

  1. PODxt
    Member
    Posted 1 year ago #

    Hi,

    I managed to put the input text field and submit button on the same line but encountered these issues related to the error message:
    1/ When I click inside the text input and then click anywhere (except on the submit button), I get an error message saying the field is required and that the email is invalid. Well, the email is invalid because I didn't put anything in this field. Is it possible to change this behavior and make the error message appear only when a user click on the submit button?
    2/ The error message is in English and I would like to translate it. Where is it located? (js, php file?)
    3/ The error message is displayed over my submit button. I tried adding the following style code to no avail:

    .formError {
    	top: 653px;
    	left: 740px;
    }

    How to change the position of this error message?

    Here's a link to a screenshot of the error mesage I'm talking about:
    http://imageshack.com/a/img593/8784/xesx.png
    Thanks

    https://wordpress.org/plugins/wysija-newsletters/

  2. George Mamadashvili
    Member
    Posted 1 year ago #

    Hello,

    1. Validator is triggered when focus is off from the input field, that's default behaviour of it.

    2. We include translation files for JS plugin, that language is your WP?

    3. try to use:

    .widget_wysija_cont .formError {
    
    }

    Thanks

    George

  3. MailPoet Staff
    Member
    Plugin Author

    Posted 1 year ago #

    Closing this one...

  4. PODxt
    Member
    Posted 1 year ago #

    Yes thanks for "closing this one". It's resolved because I switched to another plugin: Newsletter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailPoet Newsletters
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.