Server Validation On the Backend

Support General Server Validation On the BackendResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40845
    PiotrPiotr
    Participant

    Hello,

    How to handle server validation from the WP backend? Any suggested approach?

    Thanks.

    #40849
    PeterPeter
    Moderator

    Hello,

    Can you please clarify your question? Do you want to validate the field value on the server side? You can try to use the remote validation as in the documentation https://docs.metabox.io/validation/

    #40865
    PiotrPiotr
    Participant

    Hi Peter,

    Yes, I'd like to validate the field on the server side, but while submitting/editing the form in the WP admin, not from the frontend (on the frontend I can use the rwmb_frontend_validate, which doesn't work while in the admin).

    #40866
    PeterPeter
    Moderator

    Hello,

    So the remote validation can help you in this case. Please try to use it and let me know if you have any questions.

    #40939
    PiotrPiotr
    Participant

    Thank you, will check it further.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.