Magic Fields
[resolved] No error for missing required fields. (3 posts)

  1. p.dirac
    Posted 1 year ago #

    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.


  2. hunk
    Plugin Author

    Posted 1 year ago #

    any error of javascript?

  3. p.dirac
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magic Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic