Default fields validation

Support MB User Profile Default fields validation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45421
    MondenMonden
    Participant

    Hi,

    Are the default login/register fields "pre-validated" and sanitized with PHP by the plugin or do I need to do my own validation?

    I'm talking about email, password, confirm password and username.

    Thanks.

    #45426
    PeterPeter
    Moderator

    Hello,

    Yes, all fields are validated and sanitized by PHP and WordPress functions before processing, similar to the WordPress registration/login form. I think you don't need to use extra validation/sanitization.

    Refer documentation https://docs.metabox.io/sanitization/

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