Support » Plugin: Events Manager - Email Users » This value is required

  • Resolved snorklebum

    (@snorklebum)


    Hi,

    Hadn’t noticed this in testing but when I just enter text in the Visual view then try to click send email it complains that
    P
    This value is required

    If I click the text view and then send again the message will send, same if I click text then back to visual it will send.

    I’ve tried changing to a different theme but haven’t worked through disabling all the other plugins to see if one of those is interfering.
    PHP 7.3

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Patrick

    (@duisterdenhaag)

    True, that is a WordPress restriction. The textarea (text view) is required to prevent sending empty messages. The Editor (visual) is not a real official HTML input type. So you do indeed need to switch back to text to pass the validation.

    I might even go so far to replace the wp_editor fields with plain textareas because of WordPress’ limitation.

    • This reply was modified 8 months, 2 weeks ago by Patrick.
    Plugin Author Patrick

    (@duisterdenhaag)

    Please revert back to PHP 7.1m btw. Events Manager cannot handle higher very well yet. To prevent other errors and issues, please use PHP 7.1.

    hmm, I’ve just tried changing back to 7.1 and 7.0 but still seem to be getting the same message

    Plugin Author Patrick

    (@duisterdenhaag)

    Please re-read my reply!

    I did NOT say the php version was the cause! The problem is WordPress itself! The editor is not a HTML input field, but an iframe. Therefore HTML form validation does not work in the visual editor. You will need to switch back to text before submitting.

    • This reply was modified 8 months, 2 weeks ago by Patrick.

    ahh ok, sorry for the misunderstanding, I’ll change some of the text so my users know to do that.
    Thanks again.

    Plugin Author Patrick

    (@duisterdenhaag)

    I will be removing the visual button in the next update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘This value is required’ is closed to new replies.