Custom Fields
Support MB Frontend Submission Validation responses when filtering via rwmb_frontend_validate

  • Creator
  • #14588
    Resolved TGHP

    Using the rwmb_frontend_validate filter we can prevent the post from getting created by returning false which is really useful.

    It would be really nice on top of that, to be able to add some feedback/errors somehow at this point that are displayed on the frontend. Right now, even if the post isn't created (rwmb_frontend_validate filter result returns false) there is still a confirmation. If that could display feedback as to why the post wasn't created, it would be even more useful for server side validation.

    A good use case for this might be server side validation of file uploads - ensuring the file in $_FILES is of an allowed mime type and file size. Client side validation of this can always be circumvented.

Viewing 1 replies (of 1 total)
  • Author
  • #14633
    Anh Tran

    Hi TGHP,

    I've just updated the plugin to the version 2.0.0 with better server-side validation. Please see the updated documentation for details.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.