Support » Plugins and Hacks » Magic Fields » [Resolved] No error for missing required fields.

[Resolved] No error for missing required fields.

  • On WP 3.9, I just migrated from Flutter to Magic Fields 1.6.2.
    The Custom Write Panel fields appear to be ok. Some fields are required. However when I edit a post that contains the required fields, and leave out a required field, and then Save Draft, there is no error message for the missing required field. Any other entered field values do get saved.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hunk


    any error of javascript?

    There is no javascript error.
    Near the top of the page, the message is:
    “Post draft updated.”

    I expected to see this message (like Flutter) at the top:
    “Post was not published – You have errors in some fields, please check the fields below.”.
    And I expected each required missing field to be highlighted with a message:
    “Error: field can not be empty”.

    I do have a workaround. In the Magic Fields javascript file, plugins\magic-fields\js\custom_fields\validate.js, commenting out the showErrors function appears to solve the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] No error for missing required fields.’ is closed to new replies.