WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Widget validation error message

[Resolved] Widget validation error message

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    Plugin Author MailPoet

    @wysija

    Closing this one…

    Yes thanks for “closing this one”. It’s resolved because I switched to another plugin: Newsletter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Widget validation error message’ is closed to new replies.