Title: No error for missing required fields.
Last modified: August 21, 2016

---

# No error for missing required fields.

 *  Resolved [p.dirac](https://wordpress.org/support/users/pdirac/)
 * (@pdirac)
 * [12 years ago](https://wordpress.org/support/topic/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.
 * [https://wordpress.org/plugins/magic-fields/](https://wordpress.org/plugins/magic-fields/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [hunk](https://wordpress.org/support/users/hunk/)
 * (@hunk)
 * [12 years ago](https://wordpress.org/support/topic/no-error-for-missing-required-fields/#post-4883083)
 * any error of javascript?
 *  Thread Starter [p.dirac](https://wordpress.org/support/users/pdirac/)
 * (@pdirac)
 * [12 years ago](https://wordpress.org/support/topic/no-error-for-missing-required-fields/#post-4883084)
 * 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 ‘No error for missing required fields.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magic-fields.svg)
 * [Magic Fields](https://wordpress.org/plugins/magic-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magic-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magic-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/magic-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magic-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magic-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [p.dirac](https://wordpress.org/support/users/pdirac/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/no-error-for-missing-required-fields/#post-4883084)
 * Status: resolved